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
  • SimplifyArrayAssignment.h
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Stub simplifying array assignment for HLSL output · b2d6a9be
    Olli Etuaho authored Mar 30, 2015
    Add an AST traverser that rejects shaders with expressions that use the return
    value of an assignment where an array is assigned to another array. In the
    future this should be made into a tool that can simplify these expressions so
    that return values of array assignments are not used.
    
    In its current form this code prevents OutputHLSL from producing garbage code
    when the original code contains expressions like a = (b = c); where a, b, and c
    are all arrays.
    
    BUG=angleproject:960
    
    Change-Id: I11353d7ed7160c853e58a0ef3471ca439cb314c8
    Reviewed-on: https://chromium-review.googlesource.com/263070Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    b2d6a9be
SimplifyArrayAssignment.h 803 Bytes
EditWeb IDE
×

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