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
  • Compiler.h
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Initialize uninitialized globals in GLSL output · 0ffc441e
    Olli Etuaho authored May 19, 2017
    Initializing globals is done by the DeferGlobalInitializers AST
    transformation, which makes sure that the global variable init
    proceeds in the correct order. This is important since some global
    variables may use other uninitialized globals in their initializers.
    
    The global variable init is only done in case the WebGL shader spec is
    being followed. This avoids adding global initializers twice in case
    the same shader goes through multiple translations, assuming only one
    of them is a WebGL shader translation.
    
    BUG=angleproject:1966
    TEST=angle_end2end_tests, WebGL conformance tests
    
    Change-Id: Iea701d3ae40edc906abd87303f2aa27fd23bf55a
    Reviewed-on: https://chromium-review.googlesource.com/509689
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    0ffc441e
Compiler.h 10.2 KB
EditWeb IDE
×

Replace Compiler.h

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.