Skip to content

spirv: Implement OpPtrEqual, OpPtrNotEqual and OpPtrDiff

Caio Oliveira requested to merge cmarcelo/mesa:r/spirv-opptr into master

These are new operations from SPIR-V 1.4. Only the two last patches are new in this MR, the others come from:

  • New headers for SPIR-V 1.4 (merged)
  • !823 (merged) make it OK for derefs to be used as phi sources, a case which surfaces in a few tests using these new operators
  • !781 (merged) provides support for real values in NULL pointers, which can be used together with OpPtrEqual and OpPtrNotEqual
Edited by Caio Oliveira

Merge request reports