[Mesa-stable] [PATCH] spirv: Fix SpvOpAtomicISub

Ian Romanick idr at freedesktop.org
Tue Oct 10 01:36:50 UTC 2017


D'oh... and it was already handled in fill_common_atomic_sources.

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

On 10/09/2017 01:33 PM, Józef Kucia wrote:
> Cc: mesa-stable at lists.freedesktop.org
> ---
>  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 8fe379e4e0..079ff0fe95 100644
> --- a/src/compiler/spirv/spirv_to_nir.c
> +++ b/src/compiler/spirv/spirv_to_nir.c
> @@ -2034,6 +2034,7 @@ vtn_handle_image(struct vtn_builder *b, SpvOp opcode,
>     case SpvOpAtomicIDecrement:
>     case SpvOpAtomicExchange:
>     case SpvOpAtomicIAdd:
> +   case SpvOpAtomicISub:
>     case SpvOpAtomicSMin:
>     case SpvOpAtomicUMin:
>     case SpvOpAtomicSMax:
> 



More information about the mesa-stable mailing list