mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
spirv2dxil: Support subgroup SPIR-V caps
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20801>
This commit is contained in:
parent
a8329595fa
commit
9d26aa99d5
2 changed files with 4 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue