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.cpp
Find file
BlameHistoryPermalink
  • Martin Radev's avatar
    Propagate correct type to the lvalue in an output variable initializer · e145def0
    Martin Radev authored Jun 22, 2017
    With the SH_INIT_OUTPUT_VARIABLES option enabled, vertex and fragment
    shader outputs get initialized with zeros at the beginning of main.
    However, previous to this patch the lvalues in the binary expression did
    not receive the correct type. This can lead to incorrect modifications
    of the AST in subsequent stages or incorrect output code from the
    translator. The patch addresses the issue by copying the type
    information from the symbol table.
    
    BUG=angleproject:2081
    TEST=angle_unittests
    TEST=angle_end2end_tests
    
    Change-Id: I9e062376bcfad7d57b637a5248caebce1c9a0688
    Reviewed-on: https://chromium-review.googlesource.com/544982
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    e145def0
Compiler.cpp 35.5 KB
EditWeb IDE
×

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