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
  • Initialize.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Remove no-op functionality from IdentifyBuiltIns and refactor · 4f52da4a
    Olli Etuaho authored Mar 11, 2015
    Adding array built-ins like gl_FragData and gl_LastFragData to the
    symbol table with a name that included their size in brackets was
    incorrect and unnecessary. Remove this. The array built-ins should only
    be added with their proper name and with an array type.
    
    Also refactor the code to reduce unnecessary repetition of conditions.
    The previous version attempted to split the built-ins that had
    dependencies on resources into their own part of the code, but this split
    was not clearly defined and only made the code harder to follow and
    prone to issues.
    
    TEST=WebGL conformance tests
    
    Change-Id: I7a77865a594864a22f3b566f9d3da1d0ead46466
    Reviewed-on: https://chromium-review.googlesource.com/258751Reviewed-by: 's avatarNicolas Capens <capn@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    4f52da4a
Initialize.cpp 36.3 KB
EditWeb IDE
×

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