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
  • renderer
  • vulkan
  • ProgramPipelineVk.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Minimize gl_PerVertex members · 06c39376
    Shahbaz Youssefi authored Nov 27, 2020
    As ANGLE doesn't redeclare gl_PerVertex, glslang always defines it with:
    
        gl_Position
        gl_PointSize
        gl_ClipDistance
        gl_CullDistance
    
    The unused members here contribute to varying component limits.  The
    last two are unlikely to be used, and the second member is rarely used
    as well.
    
    This change keeps it simple and strips the trailing inactive members,
    which for all intents and purposes accurately minimizes this struct.
    
    Bug: angleproject:5405
    Change-Id: I59c22af4988a3da7b1e428913d0ea13be9031cea
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2562754
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    06c39376
ProgramPipelineVk.cpp 10.2 KB
EditWeb IDE
×

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