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
  • EmulateGLDrawID_test.cpp
Find file
BlameHistoryPermalink
  • shrekshao's avatar
    Add flags to shader translator to emulate gl_BaseVertex and gl_BaseInstance · cdab03aa
    shrekshao authored Jun 18, 2019
    Adds support for translating gl_BaseVertex and gl_BaseInstance for implementation of
    GL_ANGLE_base_vertex_base_instance.
    
    They will only be available in WebGL 2. Since there's no gl_VertexID and
    gl_InstanceID in WebGL 1. It won't be very useful to add them to WebGL
    1.
    
    Mostly follow pattern of gl_DrawID of GL_multi_draw
    
    BUG=angleproject:3402,chromium:891861
    
    Change-Id: Ifcd990c52d12f6814127b904e61a779b8d382e0c
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1666361
    Commit-Queue: Shrek Shao <shrekshao@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    cdab03aa
EmulateGLDrawID_test.cpp 5.67 KB
EditWeb IDE
×

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