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
    Only initialize globals if initialization flag is set · b5601eb6
    Olli Etuaho authored Nov 15, 2017
    This avoids the possibility of initializing globals twice in Chromium.
    Now we also never initialize variables redundantly in case we're
    writing HLSL output. This was already the intent of the code before,
    but a mistake had slipped in and the code didn't actually check the
    output type properly.
    
    This also simplifies DeferGlobalInitializers by running it after
    SeparateDeclarations.
    
    BUG=chromium:735497
    TEST=WebGL conformance tests
    
    Change-Id: I95036a24ac8cf18113755510376a2fca286b3ee6
    Reviewed-on: https://chromium-review.googlesource.com/771555Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    b5601eb6
Compiler.h 11.4 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.