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
  • SimplifyLoopConditions.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Allow length() on arbitrary array expressions · bb5a7e29
    Olli Etuaho authored Aug 30, 2017
    This is required to pass some dEQP GLES 3.1 tests for arrays of
    arrays, and WebGL conformance tests were also recently fixed to
    require this behavior. The intent of the GLSL ES spec was not to
    restrict usage of length().
    
    In practice GL drivers don't implement array length() on expressions
    with side effects correctly in all cases. HLSL doesn't have an array
    length operator either. Because of this we always remove array length
    ops from the AST before output.
    
    BUG=angleproject:2142
    TEST=angle_unittests, angle_end2end_tests, WebGL conformance tests
    
    Change-Id: I863a92e83ac5315b013af9a5626348482bad72b3
    Reviewed-on: https://chromium-review.googlesource.com/643190
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    bb5a7e29
SimplifyLoopConditions.cpp 10.4 KB
EditWeb IDE
×

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