15bd8deadSopenharmony_ciName
25bd8deadSopenharmony_ci
35bd8deadSopenharmony_ci    OVR_multiview2
45bd8deadSopenharmony_ci
55bd8deadSopenharmony_ciName Strings
65bd8deadSopenharmony_ci
75bd8deadSopenharmony_ci    GL_OVR_multiview2
85bd8deadSopenharmony_ci
95bd8deadSopenharmony_ciContact
105bd8deadSopenharmony_ci
115bd8deadSopenharmony_ci    Cass Everitt, Oculus (cass.everitt 'at' oculus.com)
125bd8deadSopenharmony_ci
135bd8deadSopenharmony_ciContributors
145bd8deadSopenharmony_ci
155bd8deadSopenharmony_ci    John Carmack, Oculus
165bd8deadSopenharmony_ci    Jan Paul van Waveren, Oculus
175bd8deadSopenharmony_ci    Jan-Harald Fredriksen, ARM
185bd8deadSopenharmony_ci    Sam Holmes, Qualcomm
195bd8deadSopenharmony_ci    Daniel Koch, NVIDIA
205bd8deadSopenharmony_ci
215bd8deadSopenharmony_ciStatus
225bd8deadSopenharmony_ci
235bd8deadSopenharmony_ci    Incomplete.
245bd8deadSopenharmony_ci
255bd8deadSopenharmony_ciVersion
265bd8deadSopenharmony_ci
275bd8deadSopenharmony_ci    Last Modified Date:  October 19, 2018
285bd8deadSopenharmony_ci    Author Revision: 0.5
295bd8deadSopenharmony_ci
305bd8deadSopenharmony_ciNumber
315bd8deadSopenharmony_ci
325bd8deadSopenharmony_ci    OpenGL Extension #479
335bd8deadSopenharmony_ci    OpenGL ES Extension #242
345bd8deadSopenharmony_ci
355bd8deadSopenharmony_ciDependencies
365bd8deadSopenharmony_ci
375bd8deadSopenharmony_ci    OpenGL 3.0 or OpenGL ES 3.0 is required.
385bd8deadSopenharmony_ci
395bd8deadSopenharmony_ci    This extension is written against the OpenGL ES Shading Language 3.00.04
405bd8deadSopenharmony_ci    specification.
415bd8deadSopenharmony_ci
425bd8deadSopenharmony_ci    This extension requires OVR_multiview.
435bd8deadSopenharmony_ci
445bd8deadSopenharmony_ciOverview
455bd8deadSopenharmony_ci
465bd8deadSopenharmony_ci 
475bd8deadSopenharmony_ci	This extension relaxes the restriction in OVR_multiview that only gl_Position
485bd8deadSopenharmony_ci	can depend on ViewID in the vertex shader.  With this change, view-dependent
495bd8deadSopenharmony_ci	outputs like reflection vectors and similar are allowed.
505bd8deadSopenharmony_ci
515bd8deadSopenharmony_ciNew Tokens
525bd8deadSopenharmony_ci
535bd8deadSopenharmony_ci    None.
545bd8deadSopenharmony_ci
555bd8deadSopenharmony_ciNew Procedures and Functions
565bd8deadSopenharmony_ci
575bd8deadSopenharmony_ci    None.
585bd8deadSopenharmony_ci
595bd8deadSopenharmony_ciModifications to The OpenGL ES Shading Language Specification, Version 3.00.04
605bd8deadSopenharmony_ci
615bd8deadSopenharmony_ci	Including the following line in a shader can be used to control the language
625bd8deadSopenharmony_ci	features described in this extension:
635bd8deadSopenharmony_ci
645bd8deadSopenharmony_ci      #extension GL_OVR_multiview2 : <behavior>
655bd8deadSopenharmony_ci
665bd8deadSopenharmony_ci    where <behavior> is as specified in section 3.5.
675bd8deadSopenharmony_ci
685bd8deadSopenharmony_ci    A new preprocessor #define is added to the OpenGL ES Shading Language:
695bd8deadSopenharmony_ci
705bd8deadSopenharmony_ci      #define GL_OVR_multiview2 1
715bd8deadSopenharmony_ci
725bd8deadSopenharmony_ci    If the OVR_multiview2 extension is enabled, the OVR_multiview extension
735bd8deadSopenharmony_ci    is also implicitly enabled.
745bd8deadSopenharmony_ci
755bd8deadSopenharmony_ci    Modifications to Section 7.1 "Built-in Language Variables" (as modified by
765bd8deadSopenharmony_ci    OVR_multiview):
775bd8deadSopenharmony_ci
785bd8deadSopenharmony_ci    Delete the paragraph which states:
795bd8deadSopenharmony_ci
805bd8deadSopenharmony_ci    It is a compile- or link-time error if any output variable other
815bd8deadSopenharmony_ci    than gl_Position is statically dependent on gl_ViewID_OVR. If an
825bd8deadSopenharmony_ci    output variable other than gl_Position is dynamically dependent on
835bd8deadSopenharmony_ci    gl_ViewID_OVR, the values are undefined.
845bd8deadSopenharmony_ci
855bd8deadSopenharmony_ciErrors
865bd8deadSopenharmony_ci
875bd8deadSopenharmony_ci    None.
885bd8deadSopenharmony_ci
895bd8deadSopenharmony_ciIssues
905bd8deadSopenharmony_ci
915bd8deadSopenharmony_ci    (1) Does enabling GL_OVR_multiview2 automatically enable GL_OVR_multiview?
925bd8deadSopenharmony_ci
935bd8deadSopenharmony_ci    RESOLVED: Yes. This was not specified in early drafts of the extension,
945bd8deadSopenharmony_ci    but this is the behavior of multiple implementations.
955bd8deadSopenharmony_ci
965bd8deadSopenharmony_ciRevision History
975bd8deadSopenharmony_ci
985bd8deadSopenharmony_ci      Rev.    Date    Author    Changes
995bd8deadSopenharmony_ci      ----  --------  --------  -----------------------------------------
1005bd8deadSopenharmony_ci      0.1   03/18/15  cass      Initial draft
1015bd8deadSopenharmony_ci      0.5   10/19/18  dgkoch    Add standard boiler plate shader extension language.
1025bd8deadSopenharmony_ci                                Add issue 1 and clarify that this extension
1035bd8deadSopenharmony_ci                                implicitly enables OVR_multiview.
104