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
  • tests
  • compiler_tests
  • ConstantFolding_test.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Implement ESSL 3.00 shader input/output variable type rules · cc36b983
    Olli Etuaho authored Jul 10, 2015
    ESSL 3.00 allows a wider variety of types of input/output variables
    than ESSL 1.00, but there are still specific restrictions on structs,
    matrices and arrays.
    
    Some of the checks need to be implemented twice: once for array syntax
    where the brackets are after the type, and another time for array syntax
    where the brackets are after the variable name.
    
    This requires fixes to constant folding unit tests which were previously
    incorrectly using matrix outputs in fragment shaders.
    
    New unit tests are added for several of the rules introduced, but some
    cases are also covered by dEQP.
    
    TEST=angle_unittests, dEQP-GLES.functional.shaders.linkage.varying.rules.*
    BUG=angleproject:1061
    
    Change-Id: I655b054cfe56d376db775b96a2bb41b3ac5740b0
    Reviewed-on: https://chromium-review.googlesource.com/285482Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    cc36b983
ConstantFolding_test.cpp 15 KB
EditWeb IDE
×

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