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
  • libANGLE
  • renderer
  • d3d
  • DynamicHLSL.cpp
Find file
BlameHistoryPermalink
  • Martin Radev's avatar
    HLSL: Declare gl_ViewID_OVR as fragment input if extension is enabled · 1ba9b85a
    Martin Radev authored Aug 29, 2017
    Previously a pixel shader would have gl_ViewID_OVR as input only if it
    were used in it. However, in a case with a user-specified varying and no
    usage of gl_ViewID_OVR in the pixel shader, a link-time error would
    occur whenever the geometry and pixel shaders were to be linked as the
    order of parameters in the signatures would not match.
    The patch addresses this by always having gl_ViewID_OVR declared as
    pixel shader input if the OVR_multiview(2) shader extension is enabled.
    
    The patch does not provide any tests because draw commands are not yet
    supported at this stage.
    
    BUG=angleproject:2062
    TEST=angle_end2end_tests
    
    Change-Id: Ia154fd53cbf3847cfaf0504e4ec44632b9cd5327
    Reviewed-on: https://chromium-review.googlesource.com/641151
    Commit-Queue: Martin Radev <mradev@nvidia.com>
    Reviewed-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    1ba9b85a
DynamicHLSL.cpp 47.6 KB
EditWeb IDE
×

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