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
  • MalformedShader_test.cpp
Find file
BlameHistoryPermalink
  • Martin Radev's avatar
    Change grammar to support features from es31 · 70866b89
    Martin Radev authored Jul 22, 2016
    The grammar has been changed so that ES31 grammar is followed more
    closely. The ES31 grammar is not fully supported, only functionality
    related to qualifier enumeration is added.
    
    The ParseContext is changed so that type qualifiers can be now joined
    together (i.e. like layout qualifiers). This will allow enumeration of
    multiple storage qualifiers (i.e. uniform readonly coherent) which is
    essential for support of ES31 features.
    
    Some of the error checks had to be moved closer to the root of the
    parse tree since some of the information about the expression might be
    missing.
    
    Unfortunately, as there is no explicit ordering imposed by the
    grammar, additional checks for proper order of qualifiers had to be
    added. I also included unit tests which test against malformed
    shaders.
    
    BUG=angleproject:1442
    
    TEST=angle_end2end_tests
    TEST=angle_unittests
    TEST=dEQP-GLES3.functional.shaders.*precision*
    TEST=dEQP-GLES3.functional.shaders.*function*
    TEST=dEQP-GLES2.functional.shaders.*
    
    Change-Id: Ib3653a1ed1bfced099a6b2cbf35a7cd480c9100d
    Reviewed-on: https://chromium-review.googlesource.com/362940
    Commit-Queue: Corentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    70866b89
MalformedShader_test.cpp 75.7 KB
EditWeb IDE
×

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