From: Józef Kucia Date: Mon, 9 Oct 2017 20:33:30 +0000 (+0200) Subject: spirv: Fix SpvOpAtomicISub X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0acb630a54a4b24ce14cc0d87fe5e96ae244644;p=mesa.git spirv: Fix SpvOpAtomicISub Reviewed-by: Jason Ekstrand Cc: mesa-stable@lists.freedesktop.org --- diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 8fe379e4e07..079ff0fe955 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: