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
  • tests
  • compiler_tests
  • CollectVariables_test.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Unify and simplify shader variable collection · a55102c5
    Olli Etuaho authored Feb 24, 2017
    Instead of setting variable information in both CollectVariables and
    the GetVariableTraverser helper class it uses, keep all of this
    functionality in CollectVariables. A single helper function handles
    setting variable information that doesn't depend on variable type, and
    the rest is done in "record" functions that are implemented for each
    variable type.
    
    This removes templates from the code, making it leaner and easier to
    understand, and will help with implementing future features like
    adding binding and location layout qualifiers for uniforms.
    
    BUG=angleproject:1442
    TEST=angle_unittests, angle_end2end_tests,
         dEQP-GLES2.functional.shaders.*
    
    Change-Id: I79148b7b3fa9cb46634a22bdcc9ce0c04f970384
    Reviewed-on: https://chromium-review.googlesource.com/446838
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    a55102c5
CollectVariables_test.cpp 26.5 KB
EditWeb IDE
×

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