Full stack: properly implement GL_EXT_device_group and GL_EXT_multiview.

This commit is contained in:
John Kessenich
2017-03-14 16:45:30 -06:00
parent 78cfba97e1
commit c08fb8ab9c
19 changed files with 319 additions and 30 deletions

View File

@@ -232,11 +232,15 @@ ERROR: 0:87: 'location' : overlapping use of location 4
ERROR: 0:104: '' : precise qualifier must appear first
ERROR: 0:105: '' : precise qualifier must appear first
ERROR: 0:105: '' : precise qualifier must appear first
ERROR: 21 compilation errors. No code generated.
ERROR: 0:109: 'gl_DeviceIndex' : required extension not requested: GL_EXT_device_group
ERROR: 0:110: 'gl_ViewIndex' : required extension not requested: GL_EXT_multiview
ERROR: 23 compilation errors. No code generated.
Shader version: 400
Requested GL_ARB_separate_shader_objects
Requested GL_EXT_device_group
Requested GL_EXT_multiview
vertices = 4
ERROR: node is still EOpNull!
0:13 Function Definition: main( (global void)
@@ -408,6 +412,16 @@ ERROR: node is still EOpNull!
0:97 'd' (noContraction temp double)
0:97 'd' (noContraction temp double)
0:97 'd' (noContraction temp double)
0:107 Function Definition: devi( (global void)
0:107 Function Parameters:
0:109 Sequence
0:109 'gl_DeviceIndex' (in int DeviceIndex)
0:110 'gl_ViewIndex' (in int ViewIndex)
0:121 Function Definition: devie( (global void)
0:121 Function Parameters:
0:123 Sequence
0:123 'gl_DeviceIndex' (in int DeviceIndex)
0:124 'gl_ViewIndex' (in int ViewIndex)
0:? Linker Objects
0:? 'gl_out' (out 4-element array of block{out 4-component vector of float Position gl_Position, out float PointSize gl_PointSize, out implicitly-sized array of float ClipDistance gl_ClipDistance})
0:? 'outa' (global 4-element array of int)
@@ -459,11 +473,15 @@ ERROR: 0:86: '[]' : tessellation input array size must be gl_MaxPatchVertices or
ERROR: 0:96: 'location' : overlapping use of location 24
ERROR: 0:99: 'location' : overlapping use of location 24
ERROR: 0:101: 'gl_TessLevelOuter' : identifiers starting with "gl_" are reserved
ERROR: 30 compilation errors. No code generated.
ERROR: 0:109: 'gl_DeviceIndex' : required extension not requested: GL_EXT_device_group
ERROR: 0:110: 'gl_ViewIndex' : required extension not requested: GL_EXT_multiview
ERROR: 32 compilation errors. No code generated.
Shader version: 400
Requested GL_ARB_separate_shader_objects
Requested GL_EXT_device_group
Requested GL_EXT_multiview
input primitive = quads
vertex spacing = fractional_odd_spacing
triangle order = cw
@@ -559,6 +577,16 @@ ERROR: node is still EOpNull!
0:44 Constant:
0:44 2 (const int)
0:44 'cd' (temp float)
0:107 Function Definition: devi( (global void)
0:107 Function Parameters:
0:109 Sequence
0:109 'gl_DeviceIndex' (in int DeviceIndex)
0:110 'gl_ViewIndex' (in int ViewIndex)
0:121 Function Definition: devie( (global void)
0:121 Function Parameters:
0:123 Sequence
0:123 'gl_DeviceIndex' (in int DeviceIndex)
0:124 'gl_ViewIndex' (in int ViewIndex)
0:? Linker Objects
0:? 'patchIn' (patch in 4-component vector of float)
0:? 'patchOut' (patch out 4-component vector of float)
@@ -952,6 +980,8 @@ ERROR: Linking tessellation evaluation stage: Multiple function bodies in multip
Shader version: 420
Requested GL_ARB_separate_shader_objects
Requested GL_ARB_tessellation_shader
Requested GL_EXT_device_group
Requested GL_EXT_multiview
vertices = 4
0:? Sequence
0:10 Function Definition: main( (global void)
@@ -1277,6 +1307,8 @@ vertices = 4
Shader version: 420
Requested GL_ARB_separate_shader_objects
Requested GL_ARB_tessellation_shader
Requested GL_EXT_device_group
Requested GL_EXT_multiview
input primitive = quads
vertex spacing = fractional_odd_spacing
triangle order = cw