Mesa (master): spirv: Don't warn on the ImageCubeArray capability

Jason Ekstrand jekstrand at kemper.freedesktop.org
Sat Oct 7 21:52:20 UTC 2017


Module: Mesa
Branch: master
Commit: 49a6fb8474457a1183f68af7edf630ccafa8c741
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=49a6fb8474457a1183f68af7edf630ccafa8c741

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Oct  5 20:47:29 2017 -0700

spirv: Don't warn on the ImageCubeArray capability

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

---

 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 6ce9d1ada3..8fe379e4e0 100644
--- a/src/compiler/spirv/spirv_to_nir.c
+++ b/src/compiler/spirv/spirv_to_nir.c
@@ -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:




More information about the mesa-commit mailing list