From 2e44799f50b4a1cc1e4f9ad3e5e540ee9efdea62 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 15 Nov 2016 16:55:54 -0800 Subject: [PATCH] spirv: Stop warning about input attachments Reviewed-by: Dave Airlie Reviewed-by: Jordan Justen --- 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 5ff09c91c5e..34968a4f28c 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -2445,6 +2445,7 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, case SpvCapabilitySampleRateShading: case SpvCapabilityClipDistance: case SpvCapabilityCullDistance: + case SpvCapabilityInputAttachment: break; case SpvCapabilityGeometryStreams: @@ -2463,7 +2464,6 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, case SpvCapabilityStorageImageMultisample: case SpvCapabilityImageCubeArray: case SpvCapabilityInt8: - case SpvCapabilityInputAttachment: case SpvCapabilitySparseResidency: case SpvCapabilityMinLod: case SpvCapabilityImageMSArray: -- 2.30.2