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 8fe379e4e0701738ad642d1e2f3f4ef64778d2a9..079ff0fe955148b6ad0dd59305b814b1936e60e3 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: