From a5296448892e63791a457c19a6593161da9b42a8 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 13 Sep 2016 21:09:28 -0700 Subject: [PATCH] nir/spirv: Claim support for SampleRateShading We already support all of the decorations that require this capability. Signed-off-by: Jason Ekstrand Reviewed-by: Dave Airlie --- src/compiler/spirv/spirv_to_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 49338b25452..04add3e5d37 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -2449,6 +2449,7 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, case SpvCapabilityDerivativeControl: case SpvCapabilityInterpolationFunction: case SpvCapabilityMultiViewport: + case SpvCapabilitySampleRateShading: break; case SpvCapabilityClipDistance: @@ -2468,7 +2469,6 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, case SpvCapabilityImageGatherExtended: case SpvCapabilityStorageImageMultisample: case SpvCapabilityImageCubeArray: - case SpvCapabilitySampleRateShading: case SpvCapabilityInt8: case SpvCapabilityInputAttachment: case SpvCapabilitySparseResidency: -- 2.30.2