spirv: implement pointer comparison in for air cmp

It turns out that the Khronos LLVM SPIRV translator does not support OpPtrEqual.
Therefore, this instruction is emitted using a series of conversions.

This commit breaks intToEnum, because enum was removed from the arithmetic type
info. The enum should be converted to an int before this function is called.
6e3770e970Robin Voetter committed on 5/20/2023, 3:30:21 PMparent7077e90
4 files changedLine totals unavailable