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
  • ShaderValidation_test.cpp
Find file
BlameHistoryPermalink
  • Jiawei Shao's avatar
    ES31: Implement GL_OES_geometry_shader built-ins in GLSL compiler · d27f5c8d
    Jiawei Shao authored Aug 23, 2017
    This patch intends to implement all built-in constants, variables and
    functions defined in OpenGL ES 3.1 extension GL_OES_geometry_shader
    in ANGLE GLSL compiler.
    
    1. Add all built-in constants defined in GL_OES_geometry_shader.
    2. Add built-in functions EmitVertex() and EndPrimitive() required
       in Geometry Shader.
    3. Add built-in variables gl_PrimitiveIDIn and gl_InvocationID to
       Geometry Shader.
    4. Add built-in variables gl_PrimitiveID and gl_Layer to both
       Geometry Shader and Fragment Shader when GL_OES_geometry_shader
       is enabled.
    
    BUG=angleproject:1941
    TEST=angle_unittests
    
    Change-Id: I92821553ed0efee2ccb77fead6e065e7799819d0
    Reviewed-on: https://chromium-review.googlesource.com/627670
    Commit-Queue: Corentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    d27f5c8d
ShaderValidation_test.cpp 142 KB
EditWeb IDE
×

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