spirv2dxil: Support subgroup SPIR-V caps
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20801>
This commit is contained in:
@@ -39,6 +39,10 @@ spirv_to_nir_options = {
|
||||
.draw_parameters = true,
|
||||
.multiview = true,
|
||||
.subgroup_basic = true,
|
||||
.subgroup_ballot = true,
|
||||
.subgroup_vote = true,
|
||||
.subgroup_shuffle = true,
|
||||
.subgroup_quad = true,
|
||||
},
|
||||
.ubo_addr_format = nir_address_format_32bit_index_offset,
|
||||
.ssbo_addr_format = nir_address_format_32bit_index_offset,
|
||||
|
@@ -56,7 +56,6 @@ spirv_to_dxil(const uint32_t *words, size_t word_count,
|
||||
if (stage == DXIL_SPIRV_SHADER_NONE || stage == DXIL_SPIRV_SHADER_KERNEL)
|
||||
return false;
|
||||
|
||||
|
||||
glsl_type_singleton_init_or_ref();
|
||||
|
||||
struct nir_to_dxil_options opts = {
|
||||
|
Reference in New Issue
Block a user