diff options
author | Jason Ekstrand <[email protected]> | 2016-09-13 21:09:28 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-09-21 05:39:06 -0700 |
commit | a5296448892e63791a457c19a6593161da9b42a8 (patch) | |
tree | 0871cf3e6002d143658f76c71a530be704e27bcb /src/compiler/spirv | |
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 <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler/spirv')
-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 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: |