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
  • ValidateGlobalInitializer.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Validate global initializer qualifiers · b0c645e2
    Olli Etuaho authored May 12, 2015
    Allow only constants, other globals, temporaries, and uniforms to be used
    in global variable initialization for now. The spec limits global
    variable initialization further to only constant expressions, but fully
    implementing this has a too large compatibility cost for ESSL 1.00, so
    implement it only partially. In the case of ESSL 3.00 we can use stricter
    validation, since there's no legacy to worry about.
    
    Resubmitting the change, since the previous version neglected to remove
    incorrect GLSL tests.
    
    TEST=angle_unittests, WebGL conformance tests, angle_end2end_tests
    BUG=angleproject:988
    
    Change-Id: I1bb3b8dc305689a90eadfe8cc7705e5ac3829e03
    Reviewed-on: https://chromium-review.googlesource.com/270651Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    b0c645e2
ValidateGlobalInitializer.cpp 2.25 KB
EditWeb IDE
×

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