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.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| CMakeLists.txt | Loading commit data... | |
| GLSL.ext.AMD.h | Loading commit data... | |
| GLSL.ext.EXT.h | Loading commit data... | |
| GLSL.ext.KHR.h | Loading commit data... | |
| GLSL.ext.NV.h | Loading commit data... | |
| GLSL.std.450.h | Loading commit data... | |
| GlslangToSpv.cpp | Loading commit data... | |
| GlslangToSpv.h | Loading commit data... | |
| InReadableOrder.cpp | Loading commit data... | |
| Logger.cpp | Loading commit data... | |
| Logger.h | Loading commit data... | |
| SPVRemapper.cpp | Loading commit data... | |
| SPVRemapper.h | Loading commit data... | |
| SpvBuilder.cpp | Loading commit data... | |
| SpvBuilder.h | Loading commit data... | |
| SpvPostProcess.cpp | Loading commit data... | |
| SpvTools.cpp | Loading commit data... | |
| SpvTools.h | Loading commit data... | |
| bitutils.h | Loading commit data... | |
| disassemble.cpp | Loading commit data... | |
| disassemble.h | Loading commit data... | |
| doc.cpp | Loading commit data... | |
| doc.h | Loading commit data... | |
| hex_float.h | Loading commit data... | |
| spirv.hpp | Loading commit data... | |
| spvIR.h | Loading commit data... |