spirv: Stop warning about input attachments
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 16 Nov 2016 00:55:54 +0000 (16:55 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Nov 2016 21:03:23 +0000 (13:03 -0800)
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/compiler/spirv/spirv_to_nir.c

index 5ff09c91c5e7c50093f3c4f08a15028bf38d52e9..34968a4f28c4888124b1ff7ec913d875bcc019d9 100644 (file)
@@ -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: