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

Józef Kucia joseph.kucia at gmail.com
Mon Oct 9 20:33:30 UTC 2017


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:
-- 
2.13.6



More information about the mesa-stable mailing list