Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • 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
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • compiler
  • translator
  • tree_ops
  • RewriteAtomicCounters.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Fix SPIR-V transformation name-info association · 1f5f7ea3
    Shahbaz Youssefi authored Feb 14, 2020
    Prior to this commit, when "OpName %id name" was encountered, the info
    corresponding to "name" was immediately associated with %id.  This is
    not necessarily correct because there could be multiple ids with the
    same name.  For example a sampler declaration and an unrelated function
    argument could have the same name.  In this case, the sampler
    declaration and function argument name don't even need to be in the same
    shader stage.
    
    This change modifies the SPIR-V transformation such that the name-id
    mapping is tracked until the OpVariable instruction that actually
    declares the variable is visited.  The mapping to variable info is only
    done if the storage class specified in this instruction corresponds to a
    shader interface variable.
    
    Bug: angleproject:3394
    Change-Id: I35a1f6f8278e4b1ad81c9955a55e1b72d6f2e4ea
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2057248Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    1f5f7ea3
RewriteAtomicCounters.cpp 26.2 KB
EditWeb IDE
×

Replace RewriteAtomicCounters.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.