spirv: Don't warn on the ImageCubeArray capability
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 6 Oct 2017 03:47:29 +0000 (20:47 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 7 Oct 2017 21:52:03 +0000 (14:52 -0700)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/compiler/spirv/spirv_to_nir.c

index 6ce9d1ada3495fffdf7c3e4e761facd931addd3f..8fe379e4e0701738ad642d1e2f3f4ef64778d2a9 100644 (file)
@@ -2706,6 +2706,7 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
       case SpvCapabilitySampled1D:
       case SpvCapabilityImage1D:
       case SpvCapabilitySampledCubeArray:
+      case SpvCapabilityImageCubeArray:
       case SpvCapabilitySampledBuffer:
       case SpvCapabilityImageBuffer:
       case SpvCapabilityImageQuery:
@@ -2729,7 +2730,6 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
       case SpvCapabilityAtomicStorage:
       case SpvCapabilityInt16:
       case SpvCapabilityStorageImageMultisample:
-      case SpvCapabilityImageCubeArray:
       case SpvCapabilityInt8:
       case SpvCapabilitySparseResidency:
       case SpvCapabilityMinLod: