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
2.03k stars 559 forks source link

OpCopyObject declare a temp var of base type, not pointer type. #2278

Closed billhollings closed 7 months ago

billhollings commented 7 months ago

Fixes MSL issue where temp variable was declared as pointer var, and OpCopyObject attempted to copy a base type var into the pointer var.

Fixes crash in CTS test dEQP-VK.graphicsfuzz.spv-copy-object.