SPIRV-Cross/reference/shaders-msl-no-opt/asm
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
..
comp MSL: Support OpPtrEqual, OpPtrNotEqual, and OpPtrDiff. 2022-09-14 15:19:15 -04:00
frag Add tests for OpCompositeInsert edge cases. 2022-05-18 16:43:32 +02:00
masking MSL: Use var name instead of var-type name for flattened interface members. 2022-03-04 11:38:53 -05:00
packing Attempt more optimal codegen for OpCompositeInsert. 2022-05-18 16:37:33 +02:00
tesc MSL: Use var name instead of var-type name for flattened interface members. 2022-03-04 11:38:53 -05:00
tese MSL: Improve handling of split tessellation access chains. 2021-05-21 16:32:03 +02:00
vert MSL: Handle awkward mix and match of Offset / ArrayStride in constants. 2022-03-22 12:25:09 +01:00
temporary.zero-initialize.asm.frag Add support for forcefully zero-initialized variables. 2020-03-26 13:38:27 +01:00