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
  • ProgramLinkedResources.cpp
Find file
BlameHistoryPermalink
  • Jiawei Shao's avatar
    ES31: Clean up Program::link · 73618601
    Jiawei Shao authored Dec 20, 2017
    This patch intends to solve some structure and coding style issues
    in Program::link to make it easier to support linking program with
    geometry shader.
    
    1. Move all the shader specific validations to linkValidateShaders.
       Geometry shader related link validations can also be added here.
    2. Rename functions with "VertexAndFragment" to "Graphics" because
       these functions will also be responsible for the validations on
       geometry shader.
    3. Refer uniforms by pointer when validating uniforms.
    4. Re-declare functions to 'static' if we can and capitialize the
       first letter of all static functions in Program.h.
    
    BUG=angleproject:1941
    
    Change-Id: I46608e86bddc12d95cbbbf9a85803d07ccf843d8
    Reviewed-on: https://chromium-review.googlesource.com/836149
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    73618601
ProgramLinkedResources.cpp 39.3 KB
EditWeb IDE
×

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