yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Pankaj MistryImplement GL_NV_gpu_shader5 and enable GL_ARB_gpu_shader5 completely5cffd9a7

main
19.1 KiB303 linesraw
1150.geom
2ERROR: 0:15: 'fromVertex' : block instance name redefinition 
3ERROR: 0:19: 'fromVertex' : redefinition 
4ERROR: 0:21: 'fooC' : block instance name redefinition 
5ERROR: 0:29: 'EmitStreamVertex' : required extension not requested: Possible extensions include:
6GL_ARB_gpu_shader5
7GL_NV_gpu_shader5
8ERROR: 0:29: 'if the verison is 150 , the EmitStreamVertex and EndStreamPrimitive only support at extension GL_ARB_gpu_shader5/GL_NV_gpu_shader5' : required extension not requested: Possible extensions include:
9GL_ARB_gpu_shader5
10GL_NV_gpu_shader5
11ERROR: 0:30: 'EndStreamPrimitive' : required extension not requested: Possible extensions include:
12GL_ARB_gpu_shader5
13GL_NV_gpu_shader5
14ERROR: 0:30: 'if the verison is 150 , the EmitStreamVertex and EndStreamPrimitive only support at extension GL_ARB_gpu_shader5/GL_NV_gpu_shader5' : required extension not requested: Possible extensions include:
15GL_ARB_gpu_shader5
16GL_NV_gpu_shader5
17ERROR: 0:44: 'stream' : can only be used on an output 
18ERROR: 0:45: 'stream' : can only be used on an output 
19ERROR: 0:46: 'stream' : can only be used on an output 
20ERROR: 0:47: 'stream' : can only be used on an output 
21ERROR: 0:47: 'stream' : can only be used on an output 
22ERROR: 0:60: 'stream' : member cannot contradict block 
23ERROR: 0:66: 'max_vertices' : too large, must be less than gl_MaxGeometryOutputVertices 
24ERROR: 0:66: 'max_vertices' : cannot change previously set layout value 
25ERROR: 0:67: 'max_vertices' : can only apply to a standalone qualifier 
26ERROR: 0:72: 'points' : cannot change previously set output primitive 
27ERROR: 0:73: 'points' : cannot change previously set output primitive 
28ERROR: 0:74: 'triangle_strip' : cannot apply to input 
29ERROR: 0:75: 'triangle_strip' : cannot apply to: uniform
30ERROR: 0:76: 'triangle_strip' : can only apply to a standalone qualifier 
31ERROR: 0:77: 'triangle_strip' : can only apply to a standalone qualifier 
32ERROR: 0:78: 'invocations' : not supported for this version or the enabled extensions 
33ERROR: 0:78: 'invocations' : can only apply to a standalone qualifier 
34ERROR: 0:80: 'invocations' : not supported for this version or the enabled extensions 
35ERROR: 0:80: 'invocations' : can only apply to a standalone qualifier 
36ERROR: 0:81: 'max_vertices' : can only apply to a standalone qualifier 
37ERROR: 0:82: 'triangle_strip' : can only apply to a standalone qualifier 
38ERROR: 0:85: 'lines' : cannot apply to 'out' 
39ERROR: 0:87: 'triangles' : cannot change previously set input primitive 
40ERROR: 0:88: 'triangles_adjacency' : cannot change previously set input primitive 
41ERROR: 0:89: 'invocations' : not supported for this version or the enabled extensions 
42ERROR: 0:92: 'stream' : member cannot contradict block 
43ERROR: 0:92: 'stream' : can only be used on an output 
44ERROR: 0:129: 'gl_ViewportIndex' : required extension not requested: GL_ARB_viewport_array
45ERROR: 0:129: 'gl_MaxViewports' : required extension not requested: GL_ARB_viewport_array
46ERROR: 0:139: 'gl_ViewportIndex' : identifiers starting with "gl_" are reserved 
47ERROR: 37 compilation errors.  No code generated.
48
49
50Shader version: 150
51Requested GL_ARB_viewport_array
52invocations = 4
53max_vertices = 200
54input primitive = lines_adjacency
55output primitive = triangle_strip
56ERROR: node is still EOpNull!
570:25  Function Definition: main( ( global void)
580:25    Function Parameters: 
590:27    Sequence
600:27      EmitVertex ( global void)
610:28      EndPrimitive ( global void)
620:29      EmitStreamVertex ( global void)
630:29        Constant:
640:29          1 (const int)
650:30      EndStreamPrimitive ( global void)
660:30        Constant:
670:30          0 (const int)
680:32      move second child to first child ( temp 3-component vector of float)
690:32        color: direct index for structure (layout( stream=0) out 3-component vector of float)
700:32          'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
710:32          Constant:
720:32            0 (const uint)
730:32        color: direct index for structure ( in 3-component vector of float)
740:32          direct index ( temp block{ in 3-component vector of float color})
750:32            'fromV' ( in 4-element array of block{ in 3-component vector of float color})
760:32            Constant:
770:32              0 (const int)
780:32          Constant:
790:32            0 (const int)
800:33      move second child to first child ( temp float)
810:33        direct index (layout( stream=0) temp float ClipDistance)
820:33          gl_ClipDistance: direct index for structure (layout( stream=0) out unsized 4-element array of float ClipDistance)
830:33            'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out unsized 4-element array of float ClipDistance gl_ClipDistance})
840:33            Constant:
850:33              2 (const uint)
860:33          Constant:
870:33            3 (const int)
880:33        direct index ( temp float ClipDistance)
890:33          gl_ClipDistance: direct index for structure ( in unsized 3-element array of float ClipDistance)
900:33            direct index ( temp block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in unsized 3-element array of float ClipDistance gl_ClipDistance})
910:33              'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in unsized 3-element array of float ClipDistance gl_ClipDistance})
920:33              Constant:
930:33                1 (const int)
940:33            Constant:
950:33              2 (const int)
960:33          Constant:
970:33            2 (const int)
980:34      move second child to first child ( temp 4-component vector of float)
990:34        gl_Position: direct index for structure (layout( stream=0) gl_Position 4-component vector of float Position)
1000:34          'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out unsized 4-element array of float ClipDistance gl_ClipDistance})
1010:34          Constant:
1020:34            0 (const uint)
1030:34        gl_Position: direct index for structure ( in 4-component vector of float Position)
1040:34          direct index ( temp block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in unsized 3-element array of float ClipDistance gl_ClipDistance})
1050:34            'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in unsized 3-element array of float ClipDistance gl_ClipDistance})
1060:34            Constant:
1070:34              0 (const int)
1080:34          Constant:
1090:34            0 (const int)
1100:35      move second child to first child ( temp float)
1110:35        gl_PointSize: direct index for structure (layout( stream=0) gl_PointSize float PointSize)
1120:35          'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out unsized 4-element array of float ClipDistance gl_ClipDistance})
1130:35          Constant:
1140:35            1 (const uint)
1150:35        gl_PointSize: direct index for structure ( in float PointSize)
1160:35          direct index ( temp block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in unsized 3-element array of float ClipDistance gl_ClipDistance})
1170:35            'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in unsized 3-element array of float ClipDistance gl_ClipDistance})
1180:35            Constant:
1190:35              3 (const int)
1200:35          Constant:
1210:35            1 (const int)
1220:36      move second child to first child ( temp int)
1230:36        'gl_PrimitiveID' (layout( stream=0) out int PrimitiveID)
1240:36        'gl_PrimitiveIDIn' ( in int PrimitiveID)
1250:37      move second child to first child ( temp int)
1260:37        'gl_Layer' (layout( stream=0) out int Layer)
1270:37        Constant:
1280:37          2 (const int)
1290:67  Function Definition: foo(i1; ( global void)
1300:67    Function Parameters: 
1310:67      'a' ( in int)
1320:69    Sequence
1330:69      move second child to first child ( temp 4-component vector of float)
1340:69        a: direct index for structure (layout( stream=6) out 4-component vector of float)
1350:69          'ouuaa6' (layout( stream=6) out block{layout( stream=6) out 4-component vector of float a})
1360:69          Constant:
1370:69            0 (const int)
1380:69        Constant:
1390:69          1.000000
1400:69          1.000000
1410:69          1.000000
1420:69          1.000000
1430:107  Sequence
1440:107    move second child to first child ( temp float)
1450:107      'summ' ( global float)
1460:107      Constant:
1470:107        11332.000000
1480:127  Function Definition: fooe1( ( global void)
1490:127    Function Parameters: 
1500:129    Sequence
1510:129      move second child to first child ( temp int)
1520:129        'gl_ViewportIndex' (layout( stream=0) out int ViewportIndex)
1530:129        Constant:
1540:129          15 (const int)
1550:134  Function Definition: fooe2( ( global void)
1560:134    Function Parameters: 
1570:136    Sequence
1580:136      move second child to first child ( temp int)
1590:136        'gl_ViewportIndex' (layout( stream=0) out int ViewportIndex)
1600:136        Constant:
1610:136          15 (const int)
1620:?   Linker Objects
1630:?     'fromV' ( in 4-element array of block{ in 3-component vector of float color})
1640:?     'toF' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
1650:?     'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
1660:?     'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out unsized 4-element array of float ClipDistance gl_ClipDistance})
1670:?     'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in unsized 3-element array of float ClipDistance gl_ClipDistance})
1680:?     'ov0' (layout( stream=0) out 4-component vector of float)
1690:?     'ov4' (layout( stream=4) out 4-component vector of float)
1700:?     'o1v0' (layout( stream=0) out 4-component vector of float)
1710:?     'ua' (layout( stream=3) uniform int)
1720:?     'ibb' (layout( stream=3 column_major shared) uniform block{layout( stream=3 column_major shared) uniform int ua})
1730:?     'ov3' (layout( stream=3) out 4-component vector of float)
1740:?     'ouuaa6' (layout( stream=6) out block{layout( stream=6) out 4-component vector of float a})
1750:?     'ouua6' (layout( stream=6) out block{layout( stream=6) out 4-component vector of float a})
1760:?     'ouua7' (layout( stream=7) out block{layout( stream=6) out 4-component vector of float a})
1770:?     'ov2s3' (layout( stream=3) out 4-component vector of float)
1780:?     'badv4' (layout( stream=3) out 4-component vector of float)
1790:?     'bad2v4' ( in 4-element array of 4-component vector of float)
1800:?     'anon@2' (layout( stream=3) out block{layout( stream=3) out int a})
1810:?     'outbi' (layout( stream=3) out block{layout( stream=3) out int a, layout( stream=3) out int b, layout( stream=3) out int c})
1820:?     'inbi' ( in 4-element array of block{layout( stream=2) in int a})
1830:?     'insn' ( in 4-element array of block{ in int a15})
1840:?     'anon@3' (layout( stream=3) out block{layout( stream=3) out float f15})
1850:?     'anon@4' (layout( column_major shared) uniform block{layout( column_major shared) uniform bool b15})
1860:?     'summ' ( global float)
1870:?     'gl_ViewportIndex' (layout( stream=3) out int)
188
189
190Linked geometry stage:
191
192
193Shader version: 150
194Requested GL_ARB_viewport_array
195invocations = 4
196max_vertices = 200
197input primitive = lines_adjacency
198output primitive = triangle_strip
199ERROR: node is still EOpNull!
2000:25  Function Definition: main( ( global void)
2010:25    Function Parameters: 
2020:27    Sequence
2030:27      EmitVertex ( global void)
2040:28      EndPrimitive ( global void)
2050:29      EmitStreamVertex ( global void)
2060:29        Constant:
2070:29          1 (const int)
2080:30      EndStreamPrimitive ( global void)
2090:30        Constant:
2100:30          0 (const int)
2110:32      move second child to first child ( temp 3-component vector of float)
2120:32        color: direct index for structure (layout( stream=0) out 3-component vector of float)
2130:32          'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
2140:32          Constant:
2150:32            0 (const uint)
2160:32        color: direct index for structure ( in 3-component vector of float)
2170:32          direct index ( temp block{ in 3-component vector of float color})
2180:32            'fromV' ( in 4-element array of block{ in 3-component vector of float color})
2190:32            Constant:
2200:32              0 (const int)
2210:32          Constant:
2220:32            0 (const int)
2230:33      move second child to first child ( temp float)
2240:33        direct index (layout( stream=0) temp float ClipDistance)
2250:33          gl_ClipDistance: direct index for structure (layout( stream=0) out 4-element array of float ClipDistance)
2260:33            'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out 4-element array of float ClipDistance gl_ClipDistance})
2270:33            Constant:
2280:33              2 (const uint)
2290:33          Constant:
2300:33            3 (const int)
2310:33        direct index ( temp float ClipDistance)
2320:33          gl_ClipDistance: direct index for structure ( in 3-element array of float ClipDistance)
2330:33            direct index ( temp block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in 3-element array of float ClipDistance gl_ClipDistance})
2340:33              'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in 3-element array of float ClipDistance gl_ClipDistance})
2350:33              Constant:
2360:33                1 (const int)
2370:33            Constant:
2380:33              2 (const int)
2390:33          Constant:
2400:33            2 (const int)
2410:34      move second child to first child ( temp 4-component vector of float)
2420:34        gl_Position: direct index for structure (layout( stream=0) gl_Position 4-component vector of float Position)
2430:34          'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out 4-element array of float ClipDistance gl_ClipDistance})
2440:34          Constant:
2450:34            0 (const uint)
2460:34        gl_Position: direct index for structure ( in 4-component vector of float Position)
2470:34          direct index ( temp block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in 3-element array of float ClipDistance gl_ClipDistance})
2480:34            'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in 3-element array of float ClipDistance gl_ClipDistance})
2490:34            Constant:
2500:34              0 (const int)
2510:34          Constant:
2520:34            0 (const int)
2530:35      move second child to first child ( temp float)
2540:35        gl_PointSize: direct index for structure (layout( stream=0) gl_PointSize float PointSize)
2550:35          'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out 4-element array of float ClipDistance gl_ClipDistance})
2560:35          Constant:
2570:35            1 (const uint)
2580:35        gl_PointSize: direct index for structure ( in float PointSize)
2590:35          direct index ( temp block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in 3-element array of float ClipDistance gl_ClipDistance})
2600:35            'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in 3-element array of float ClipDistance gl_ClipDistance})
2610:35            Constant:
2620:35              3 (const int)
2630:35          Constant:
2640:35            1 (const int)
2650:36      move second child to first child ( temp int)
2660:36        'gl_PrimitiveID' (layout( stream=0) out int PrimitiveID)
2670:36        'gl_PrimitiveIDIn' ( in int PrimitiveID)
2680:37      move second child to first child ( temp int)
2690:37        'gl_Layer' (layout( stream=0) out int Layer)
2700:37        Constant:
2710:37          2 (const int)
2720:107  Sequence
2730:107    move second child to first child ( temp float)
2740:107      'summ' ( global float)
2750:107      Constant:
2760:107        11332.000000
2770:?   Linker Objects
2780:?     'fromV' ( in 4-element array of block{ in 3-component vector of float color})
2790:?     'toF' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
2800:?     'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
2810:?     'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out 4-element array of float ClipDistance gl_ClipDistance})
2820:?     'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position,  in float PointSize gl_PointSize,  in 3-element array of float ClipDistance gl_ClipDistance})
2830:?     'ov0' (layout( stream=0) out 4-component vector of float)
2840:?     'ov4' (layout( stream=4) out 4-component vector of float)
2850:?     'o1v0' (layout( stream=0) out 4-component vector of float)
2860:?     'ua' (layout( stream=3) uniform int)
2870:?     'ibb' (layout( stream=3 column_major shared) uniform block{layout( stream=3 column_major shared) uniform int ua})
2880:?     'ov3' (layout( stream=3) out 4-component vector of float)
2890:?     'ouuaa6' (layout( stream=6) out block{layout( stream=6) out 4-component vector of float a})
2900:?     'ouua6' (layout( stream=6) out block{layout( stream=6) out 4-component vector of float a})
2910:?     'ouua7' (layout( stream=7) out block{layout( stream=6) out 4-component vector of float a})
2920:?     'ov2s3' (layout( stream=3) out 4-component vector of float)
2930:?     'badv4' (layout( stream=3) out 4-component vector of float)
2940:?     'bad2v4' ( in 4-element array of 4-component vector of float)
2950:?     'anon@2' (layout( stream=3) out block{layout( stream=3) out int a})
2960:?     'outbi' (layout( stream=3) out block{layout( stream=3) out int a, layout( stream=3) out int b, layout( stream=3) out int c})
2970:?     'inbi' ( in 4-element array of block{layout( stream=2) in int a})
2980:?     'insn' ( in 4-element array of block{ in int a15})
2990:?     'anon@3' (layout( stream=3) out block{layout( stream=3) out float f15})
3000:?     'anon@4' (layout( column_major shared) uniform block{layout( column_major shared) uniform bool b15})
3010:?     'summ' ( global float)
3020:?     'gl_ViewportIndex' (layout( stream=3) out int)
303