SPIRV-Cross/shaders-msl-no-opt
Bill Hollings 5493b3030e MSL: Support OpPtrEqual, OpPtrNotEqual, and OpPtrDiff.
- Add CompilerMSL::emit_binary_ptr_op() and to_ptr_expression()
  to emit binary pointer op. Compare matrix addresses without automatic
  transpose() conversion, to avoid error taking address of temporary copy.
- Add Compiler::add_active_interface_variable() to also track active
  interface vars in the entry point for SPIR-V 1.4 and above.
- For OpPtrAccessChain that ends in array element, use Element
  as offset to existing index, otherwise it will access into
  array dimension that doesn't exist.
- Dereference pointer function call arguments. Ultimately, this
  dereferencing is actually backwards, and in future, we should aim
  to properly support passing pointer variables between functions,
  but such a refactoring was beyond the scope here.
- Use [] to declare array of pointers, as array<T*> is not supported in MSL.
- Add unit test shaders.
2022-09-14 15:19:15 -04:00
..
asm MSL: Support OpPtrEqual, OpPtrNotEqual, and OpPtrDiff. 2022-09-14 15:19:15 -04:00
comp Test behavior around OpSelect with matrices. 2021-10-13 16:08:29 +02:00
components MSL: Deal with padded fragment output + Component decoration. 2020-01-07 17:02:12 +01:00
frag Add test for SPIR-V 1.6 Volatile HelperInvocation. 2022-03-04 11:19:33 +01:00
packing MSL: Workaround broken vector -> scalar access chain in MSL. 2020-07-06 10:03:44 +02:00
tesc MSL: Correctly analyze if builtin block is active. 2021-04-19 12:10:49 +02:00
tese MSL: Handle loading Clip/CullDistance in TESE. 2021-04-19 12:10:49 +02:00
vert MSL: Handle non-thread storage class in Modf/Frexp pointer versions. 2021-11-07 12:51:15 +01:00
vulkan/frag MSL: Fix passing a sampled image to a function. 2019-01-14 09:29:31 -06:00