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
  • WEBGL_multiview_test.cpp
Find file
BlameHistoryPermalink
  • Martin Radev's avatar
    Declare and initialize ViewID_OVR and InstanceID · 69056a1e
    Martin Radev authored May 18, 2017
    The patch modifies the vertex shader's AST to declare and initialize
    the global variables ViewID_OVR and InstanceID. Every occurrence of
    gl_ViewID_OVR gets replaced by ViewID_OVR and initialized in main
    with a value dependent on gl_InstanceID and the number of views.
    To guarantee correct results for instanced rendering, each occurrence
    of gl_InstanceID is replaced with InstanceID and initialized similarly.
    
    BUG=angleproject:2062
    TEST=angle_unittests
    
    Change-Id: I48be688605b5af869bc370758e70ccc209ea4419
    Reviewed-on: https://chromium-review.googlesource.com/548596
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    69056a1e
WEBGL_multiview_test.cpp 21.8 KB
EditWeb IDE
×

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