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: atomic_compare_exchange_weak() support CompilerMSL:msl_options.texture_1D_as_2D. #2293

Closed billhollings closed 3 months ago

billhollings commented 3 months ago

CompilerMSL:msl_options.texture_1D_as_2D emulates a Metal 1D texture as a 2D texture in order to expand features available for 1D textures. Support accessing such textures as 2D for atomic_compare_exchange_weak().