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
  • parseConst.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    translator: Fix validation sometimes modifying builtins. · b11e2483
    Jamie Madill authored May 04, 2015
    When validating some shaders with out-of-bounds array indexes,
    we would write the sanitized index into the global symbol table.
    We would then overwrite a wrong value for the builtin. This
    fixes the WebGL test extensions/webgl-draw-buffers-max-draw-buffers.
    
    Also mark const on as many uses ConstantUnion as we can.
    
    BUG=angleproject:993
    
    Change-Id: I110efaf1b7b0158b08b704277e3bc2472437902c
    Reviewed-on: https://chromium-review.googlesource.com/268962Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org>
    Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    b11e2483
parseConst.cpp 7.7 KB
EditWeb IDE
×

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