[Mesa-dev] [PATCH] spirv: Add missing break

Caio Marcelo de Oliveira Filho caio.oliveira at intel.com
Wed Feb 13 23:14:42 UTC 2019


Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>


On Wed, Feb 13, 2019 at 03:03:59PM -0800, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
> 
> Fixes: c6465fec0c5 ("spirv: add SpvCapabilityInt64Atomics")
> CID: 1442555
> ---
>  src/compiler/spirv/spirv_to_nir.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c
> index 1cbc926c818..5e8eb222555 100644
> --- a/src/compiler/spirv/spirv_to_nir.c
> +++ b/src/compiler/spirv/spirv_to_nir.c
> @@ -3590,6 +3590,7 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
>  
>        case SpvCapabilityInt64Atomics:
>           spv_check_supported(int64_atomics, cap);
> +         break;
>  
>        case SpvCapabilityInt8:
>           spv_check_supported(int8, cap);
> -- 
> 2.14.5
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


	Caio


More information about the mesa-dev mailing list