summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorJózef Kucia <[email protected]>2017-10-09 22:33:30 +0200
committerJason Ekstrand <[email protected]>2017-10-09 16:28:11 -0700
commite0acb630a54a4b24ce14cc0d87fe5e96ae244644 (patch)
tree608293a306e9e8be372062227c8f0ad0898fc1eb /src/compiler
parent7a7fb90af757d8c86aec062f9fdb82c29f6a228d (diff)
spirv: Fix SpvOpAtomicISub
Reviewed-by: Jason Ekstrand <[email protected]> Cc: [email protected]
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/spirv/spirv_to_nir.c1
1 files changed, 1 insertions, 0 deletions
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: