From 49a6fb8474457a1183f68af7edf630ccafa8c741 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 5 Oct 2017 20:47:29 -0700 Subject: [PATCH] spirv: Don't warn on the ImageCubeArray capability Reviewed-by: Lionel Landwerlin --- 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 6ce9d1ada34..8fe379e4e07 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: -- 2.30.2