-
Fix glslang can't link multiple AST in a single stage · 05a5b532Roy authored
Root cause: GlslangToSpv use symbol structure's ptr as a map key, but multiple shader object can build a new AST. In the AST the the same symbol has different ptr point to their structure, so indext map faild. solution: Add a new map glslangTypeToIdMap to map ptr to symbol id, and use symbol id to index memberRemapper.
05a5b532
×