spirv: Implement SPV_EXT_shader_atomic_float16_add
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11981>
This commit is contained in:
parent
8c29891fa4
commit
baefdceeaf
|
@ -45,6 +45,7 @@ struct spirv_supported_capabilities {
|
|||
bool descriptor_indexing;
|
||||
bool device_group;
|
||||
bool draw_parameters;
|
||||
bool float16_atomic_add;
|
||||
bool float16_atomic_min_max;
|
||||
bool float32_atomic_add;
|
||||
bool float32_atomic_min_max;
|
||||
|
|
|
@ -4604,6 +4604,10 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
|||
spv_check_supported(amd_image_gather_bias_lod, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityAtomicFloat16AddEXT:
|
||||
spv_check_supported(float16_atomic_add, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityAtomicFloat32AddEXT:
|
||||
spv_check_supported(float32_atomic_add, cap);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue