KhronosGroup / SPIRV-Cross

SPIRV-Cross is a practical tool and library for performing reflection on SPIR-V and disassembling SPIR-V back to high level languages.
Apache License 2.0
1.96k stars 549 forks source link

MSL: Implement support for EXT_mutable_descriptor_type and general aliasing with argument buffers #2306

Closed HansKristian-Work closed 2 months ago

HansKristian-Work commented 2 months ago

Here be dragons, illegal pointer casts, and all sorts of fiendish constructions.

Verified that MSL codegen should work. texture types are represented as pointer to internal texture type in AIR.

Supersedes #2292.

billhollings commented 2 months ago

Here be dragons

Nice one. Gave me a chuckle. 😉