Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
G
glslang
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • glslang
  • Repository

Switch branch/tag
  • glslang
  • SPIRV
  • GlslangToSpv.cpp
Find file
BlameHistoryPermalink
  • Roy's avatar
    Fix glslang can't link multiple AST in a single stage · 05a5b532
    Roy authored Jan 03, 2020
    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
GlslangToSpv.cpp 350 KB
EditWeb IDE
×

Replace GlslangToSpv.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.