[Mesa-dev] [PATCH v4 38/40] compiler/spirv: move the check for Int8 capability

Jason Ekstrand jason at jlekstrand.net
Sat Feb 16 15:06:52 UTC 2019


Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

On Tue, Feb 12, 2019 at 5:56 AM Iago Toral Quiroga <itoral at igalia.com>
wrote:

> So it is right after the checks for the other various Int* capabilities.
> ---
>  src/compiler/spirv/spirv_to_nir.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/src/compiler/spirv/spirv_to_nir.c
> b/src/compiler/spirv/spirv_to_nir.c
> index 1cbc926c818..7e07de2bfc0 100644
> --- a/src/compiler/spirv/spirv_to_nir.c
> +++ b/src/compiler/spirv/spirv_to_nir.c
> @@ -3579,6 +3579,9 @@ vtn_handle_preamble_instruction(struct vtn_builder
> *b, SpvOp opcode,
>        case SpvCapabilityInt16:
>           spv_check_supported(int16, cap);
>           break;
> +      case SpvCapabilityInt8:
> +         spv_check_supported(int8, cap);
> +         break;
>
>        case SpvCapabilityTransformFeedback:
>           spv_check_supported(transform_feedback, cap);
> @@ -3591,10 +3594,6 @@ vtn_handle_preamble_instruction(struct vtn_builder
> *b, SpvOp opcode,
>        case SpvCapabilityInt64Atomics:
>           spv_check_supported(int64_atomics, cap);
>
> -      case SpvCapabilityInt8:
> -         spv_check_supported(int8, cap);
> -         break;
> -
>        case SpvCapabilityStorageImageMultisample:
>           spv_check_supported(storage_image_ms, cap);
>           break;
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190216/12102861/attachment-0001.html>


More information about the mesa-dev mailing list