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
  • libANGLE
  • Shader.cpp
Find file
BlameHistoryPermalink
  • Charlie Lao's avatar
    Vulkan: Track specialization constant usage bit and feedback to ctx · 24f64249
    Charlie Lao authored Nov 16, 2020
    Right now context does not know which specialization constant is used by
    the shader. Whenever a specialization constant changes, we assume shader
    program is using it, we always reach into vulkan driver to ask for a new
    program. Instead we can track shader's usage of specialization constant
    so that context can utilize this information to avoid recompile pipeline
    program if an unused specialization constant has changed.
    
    This CL implements the plumbing the usage bits form compiler to program
    object, it does not actually utilize the usage bits to avoid unnecessary
    compilation yet.
    
    Bug: b/173461931
    Change-Id: Iebc9d0638c17b1a282c8b6093ce6bae154246e57
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2542866Reviewed-by: 's avatarIan Elliott <ianelliott@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Charlie Lao <cclao@google.com>
    24f64249
Shader.cpp 19.9 KB
EditWeb IDE
×

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