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
  • TranslatorVulkan.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Remove inactive shader inputs in the translator · 453926f5
    Shahbaz Youssefi authored Jan 19, 2020
    Inactive vertex attributes are harmless to remove.  Between two
    consecutive stages, the input varyings must be a subset of the previous
    stage's output varyings.  This means removing inactive input varyings is
    also harmless.
    
    Removing inactive output varyings is not possible though.  GLSL allows a
    varying to not be written by the previous stage even if it's used in the
    current stage (values will be undefined, but it's not an error).  This
    means that an inactive output varying may still need to exist as part of
    the shader interface in case the following stage has that varying as
    input (and is active).
    
    Bug: angleproject:3394
    Change-Id: I7302973d2b8356d9f54a66f8259c32f245a99904
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2009986Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    453926f5
TranslatorVulkan.cpp 43.3 KB
EditWeb IDE
×

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