mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
spirv: switch Groups capability to non AMD specific field
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13081>
This commit is contained in:
parent
5c35040da1
commit
52c0e6e5b3
3 changed files with 3 additions and 1 deletions
|
|
@ -476,6 +476,7 @@ radv_shader_compile_to_nir(struct radv_device *device, struct vk_shader_module *
|
|||
.float64 = true,
|
||||
.float64_atomic_min_max = true,
|
||||
.geometry_streams = true,
|
||||
.groups = true,
|
||||
.image_atomic_int64 = true,
|
||||
.image_ms_array = true,
|
||||
.image_read_without_format = true,
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ struct spirv_supported_capabilities {
|
|||
bool fragment_shading_rate;
|
||||
bool generic_pointers;
|
||||
bool geometry_streams;
|
||||
bool groups;
|
||||
bool image_ms_array;
|
||||
bool image_read_without_format;
|
||||
bool image_write_without_format;
|
||||
|
|
|
|||
|
|
@ -4535,7 +4535,7 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
|||
break;
|
||||
|
||||
case SpvCapabilityGroups:
|
||||
spv_check_supported(amd_shader_ballot, cap);
|
||||
spv_check_supported(groups, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilitySubgroupDispatch:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue