[Mesa-dev] [PATCH] spirv: Don't warn on the ImageCubeArray capability

Lionel Landwerlin lionel.g.landwerlin at intel.com
Fri Oct 6 13:25:30 UTC 2017


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

On 06/10/17 04:47, Jason Ekstrand wrote:
> ---
>   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 a2538d6..5dccbf6 100644
> --- a/src/compiler/spirv/spirv_to_nir.c
> +++ b/src/compiler/spirv/spirv_to_nir.c
> @@ -2802,6 +2802,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:
> @@ -2825,7 +2826,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-dev mailing list