diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-09-13 21:09:28 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-09-21 05:39:06 -0700 |
commit | a5296448892e63791a457c19a6593161da9b42a8 (patch) | |
tree | 0871cf3e6002d143658f76c71a530be704e27bcb | |
parent | 7c48622581606e3adb60e836022263b5f917ad7c (diff) |
nir/spirv: Claim support for SampleRateShading
We already support all of the decorations that require this capability.
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 49338b2545..04add3e5d3 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: |