spirv: add support for SpvCapabilityFragmentBarycentricKHR
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23254>
This commit is contained in:
committed by
Marge Bot
parent
adbd362421
commit
c49a052cbf
@@ -63,6 +63,7 @@ struct spirv_supported_capabilities {
|
||||
bool float64_atomic_add;
|
||||
bool float64_atomic_min_max;
|
||||
bool float64;
|
||||
bool fragment_barycentric;
|
||||
bool fragment_density;
|
||||
bool fragment_fully_covered;
|
||||
bool fragment_shader_pixel_interlock;
|
||||
|
||||
@@ -5066,6 +5066,10 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
||||
spv_check_supported(ray_tracing_position_fetch, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityFragmentBarycentricKHR:
|
||||
spv_check_supported(fragment_barycentric, cap);
|
||||
break;
|
||||
|
||||
default:
|
||||
vtn_fail("Unhandled capability: %s (%u)",
|
||||
spirv_capability_to_string(cap), cap);
|
||||
|
||||
Reference in New Issue
Block a user