EndStreamPrimitive not supported when there is #extension GL_ARB_gpu_shader5
Signed-off-by: ZhiqianXia <xzq0528@outlook.com>
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
ERROR: 0:15: 'fromVertex' : block instance name redefinition
|
||||
ERROR: 0:19: 'fromVertex' : redefinition
|
||||
ERROR: 0:21: 'fooC' : block instance name redefinition
|
||||
ERROR: 0:29: 'EmitStreamVertex' : no matching overloaded function found
|
||||
ERROR: 0:30: 'EndStreamPrimitive' : no matching overloaded function found
|
||||
ERROR: 0:29: 'if the verison is 150 , the EmitStreamVertex and EndStreamPrimitive only support at extension GL_ARB_gpu_shader5' : required extension not requested: GL_ARB_gpu_shader5
|
||||
ERROR: 0:30: 'if the verison is 150 , the EmitStreamVertex and EndStreamPrimitive only support at extension GL_ARB_gpu_shader5' : required extension not requested: GL_ARB_gpu_shader5
|
||||
ERROR: 0:44: 'stream' : can only be used on an output
|
||||
ERROR: 0:45: 'stream' : can only be used on an output
|
||||
ERROR: 0:46: 'stream' : can only be used on an output
|
||||
@@ -49,10 +49,12 @@ ERROR: node is still EOpNull!
|
||||
0:27 Sequence
|
||||
0:27 EmitVertex ( global void)
|
||||
0:28 EndPrimitive ( global void)
|
||||
0:29 Constant:
|
||||
0:29 0.000000
|
||||
0:30 Constant:
|
||||
0:30 0.000000
|
||||
0:29 EmitStreamVertex ( global void)
|
||||
0:29 Constant:
|
||||
0:29 1 (const int)
|
||||
0:30 EndStreamPrimitive ( global void)
|
||||
0:30 Constant:
|
||||
0:30 0 (const int)
|
||||
0:32 move second child to first child ( temp 3-component vector of float)
|
||||
0:32 color: direct index for structure (layout( stream=0) out 3-component vector of float)
|
||||
0:32 'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
|
||||
@@ -190,10 +192,12 @@ ERROR: node is still EOpNull!
|
||||
0:27 Sequence
|
||||
0:27 EmitVertex ( global void)
|
||||
0:28 EndPrimitive ( global void)
|
||||
0:29 Constant:
|
||||
0:29 0.000000
|
||||
0:30 Constant:
|
||||
0:30 0.000000
|
||||
0:29 EmitStreamVertex ( global void)
|
||||
0:29 Constant:
|
||||
0:29 1 (const int)
|
||||
0:30 EndStreamPrimitive ( global void)
|
||||
0:30 Constant:
|
||||
0:30 0 (const int)
|
||||
0:32 move second child to first child ( temp 3-component vector of float)
|
||||
0:32 color: direct index for structure (layout( stream=0) out 3-component vector of float)
|
||||
0:32 'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
|
||||
|
||||
97
Test/baseResults/EndStreamPrimitive.geom.out
Normal file
97
Test/baseResults/EndStreamPrimitive.geom.out
Normal file
@@ -0,0 +1,97 @@
|
||||
EndStreamPrimitive.geom
|
||||
WARNING: 0:2: '#extension' : extension is only partially supported: GL_ARB_gpu_shader5
|
||||
|
||||
Shader version: 150
|
||||
Requested GL_ARB_gpu_shader5
|
||||
invocations = -1
|
||||
max_vertices = 1
|
||||
input primitive = points
|
||||
output primitive = points
|
||||
0:? Sequence
|
||||
0:10 Function Definition: main( ( global void)
|
||||
0:10 Function Parameters:
|
||||
0:12 Sequence
|
||||
0:12 move second child to first child ( temp float)
|
||||
0:12 'output1' (layout( stream=0) out float)
|
||||
0:12 Constant:
|
||||
0:12 1.000000
|
||||
0:13 move second child to first child ( temp float)
|
||||
0:13 'output2' (layout( stream=0) out float)
|
||||
0:13 Constant:
|
||||
0:13 2.000000
|
||||
0:14 EmitStreamVertex ( global void)
|
||||
0:14 Constant:
|
||||
0:14 0 (const int)
|
||||
0:15 EndStreamPrimitive ( global void)
|
||||
0:15 Constant:
|
||||
0:15 0 (const int)
|
||||
0:16 move second child to first child ( temp float)
|
||||
0:16 'output3' (layout( stream=1) out float)
|
||||
0:16 Constant:
|
||||
0:16 3.000000
|
||||
0:17 move second child to first child ( temp float)
|
||||
0:17 'output4' (layout( stream=1) out float)
|
||||
0:17 Constant:
|
||||
0:17 4.000000
|
||||
0:18 EmitStreamVertex ( global void)
|
||||
0:18 Constant:
|
||||
0:18 1 (const int)
|
||||
0:19 EndStreamPrimitive ( global void)
|
||||
0:19 Constant:
|
||||
0:19 1 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'output1' (layout( stream=0) out float)
|
||||
0:? 'output2' (layout( stream=0) out float)
|
||||
0:? 'output3' (layout( stream=1) out float)
|
||||
0:? 'output4' (layout( stream=1) out float)
|
||||
0:? 'stream' ( uniform uint)
|
||||
|
||||
|
||||
Linked geometry stage:
|
||||
|
||||
|
||||
Shader version: 150
|
||||
Requested GL_ARB_gpu_shader5
|
||||
invocations = 1
|
||||
max_vertices = 1
|
||||
input primitive = points
|
||||
output primitive = points
|
||||
0:? Sequence
|
||||
0:10 Function Definition: main( ( global void)
|
||||
0:10 Function Parameters:
|
||||
0:12 Sequence
|
||||
0:12 move second child to first child ( temp float)
|
||||
0:12 'output1' (layout( stream=0) out float)
|
||||
0:12 Constant:
|
||||
0:12 1.000000
|
||||
0:13 move second child to first child ( temp float)
|
||||
0:13 'output2' (layout( stream=0) out float)
|
||||
0:13 Constant:
|
||||
0:13 2.000000
|
||||
0:14 EmitStreamVertex ( global void)
|
||||
0:14 Constant:
|
||||
0:14 0 (const int)
|
||||
0:15 EndStreamPrimitive ( global void)
|
||||
0:15 Constant:
|
||||
0:15 0 (const int)
|
||||
0:16 move second child to first child ( temp float)
|
||||
0:16 'output3' (layout( stream=1) out float)
|
||||
0:16 Constant:
|
||||
0:16 3.000000
|
||||
0:17 move second child to first child ( temp float)
|
||||
0:17 'output4' (layout( stream=1) out float)
|
||||
0:17 Constant:
|
||||
0:17 4.000000
|
||||
0:18 EmitStreamVertex ( global void)
|
||||
0:18 Constant:
|
||||
0:18 1 (const int)
|
||||
0:19 EndStreamPrimitive ( global void)
|
||||
0:19 Constant:
|
||||
0:19 1 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'output1' (layout( stream=0) out float)
|
||||
0:? 'output2' (layout( stream=0) out float)
|
||||
0:? 'output3' (layout( stream=1) out float)
|
||||
0:? 'output4' (layout( stream=1) out float)
|
||||
0:? 'stream' ( uniform uint)
|
||||
|
||||
Reference in New Issue
Block a user