spirv: Fix SpvOpAtomicISub
authorJózef Kucia <joseph.kucia@gmail.com>
Mon, 9 Oct 2017 20:33:30 +0000 (22:33 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 9 Oct 2017 23:28:11 +0000 (16:28 -0700)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: mesa-stable@lists.freedesktop.org
src/compiler/spirv/spirv_to_nir.c

index 8fe379e..079ff0f 100644 (file)
@@ -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: