spirv: add SpvCapabilityFragmentFullyCoveredEXT

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21497>
This commit is contained in:
Samuel Pitoiset 2023-02-21 17:00:05 +01:00 committed by Marge Bot
parent e57caf9893
commit cf2bc83c60
2 changed files with 5 additions and 0 deletions

View file

@ -54,6 +54,7 @@ struct spirv_supported_capabilities {
bool float64;
bool float64_atomic_add;
bool float64_atomic_min_max;
bool fragment_fully_covered;
bool fragment_shader_sample_interlock;
bool fragment_shader_pixel_interlock;
bool fragment_shading_rate;

View file

@ -4889,6 +4889,10 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
spv_check_supported(subgroup_rotate, cap);
break;
case SpvCapabilityFragmentFullyCoveredEXT:
spv_check_supported(fragment_fully_covered, cap);
break;
default:
vtn_fail("Unhandled capability: %s (%u)",
spirv_capability_to_string(cap), cap);