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
  • OutputHLSL.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Support assigning array constructors in HLSL output · 9638c352
    Olli Etuaho authored Apr 01, 2015
    This adds support to the following type of shader code, where an array
    constructor is used as a source of assignment:
    
    float a[3];
    a = float[3](0.0, 1.0, 2.0);
    
    The assignment gets replaced in the HLSL code by a function call where
    the array is an out parameter and the constructor parameters are regular
    parameters.
    
    Constructors cannot yet be used in initializers.
    
    With this change in place, some of the relevant dEQP tests start passing.
    
    TEST=dEQP-GLES3.functional.shaders.arrays.constructor.*
    BUG=angleproject:941
    
    Change-Id: I13ed603c02a30d9f9950a61c4d562ae9fac058ec
    Reviewed-on: https://chromium-review.googlesource.com/263403Reviewed-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    9638c352
OutputHLSL.cpp 110 KB
EditWeb IDE
×

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