yum-mirror/glslang

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

Wint3rNightAdd GL_EXT_clip_cull_distance and GL_ARB_cull_distance54947913

main
16.7 KiB276 linesraw
1320.geom
2ERROR: 0:19: 'fromVertex' : block instance name redefinition 
3ERROR: 0:23: 'fromVertex' : redefinition 
4ERROR: 0:25: 'fooC' : block instance name redefinition 
5ERROR: 0:33: 'EmitStreamVertex' : no matching overloaded function found 
6ERROR: 0:34: 'EndStreamPrimitive' : no matching overloaded function found 
7ERROR: 0:37: 'gl_ClipDistance' : required extension not requested: GL_EXT_clip_cull_distance
8ERROR: 0:38: 'gl_ClipDistance' : required extension not requested: GL_EXT_clip_cull_distance
9ERROR: 0:45: 'selecting output stream' : not supported with this profile: es
10ERROR: 0:52: 'max_vertices' : too large, must be less than gl_MaxGeometryOutputVertices 
11ERROR: 0:52: 'max_vertices' : cannot change previously set layout value 
12ERROR: 0:53: 'max_vertices' : can only apply to a standalone qualifier 
13ERROR: 0:58: 'points' : cannot change previously set output primitive 
14ERROR: 0:59: 'points' : cannot change previously set output primitive 
15ERROR: 0:60: 'triangle_strip' : cannot apply to input 
16ERROR: 0:61: 'triangle_strip' : cannot apply to: uniform
17ERROR: 0:62: 'triangle_strip' : can only apply to a standalone qualifier 
18ERROR: 0:63: 'triangle_strip' : can only apply to a standalone qualifier 
19ERROR: 0:64: 'invocations' : can only apply to a standalone qualifier 
20ERROR: 0:66: 'invocations' : can only apply to a standalone qualifier 
21ERROR: 0:67: 'max_vertices' : can only apply to a standalone qualifier 
22ERROR: 0:68: 'triangle_strip' : can only apply to a standalone qualifier 
23ERROR: 0:71: 'lines' : cannot apply to 'out' 
24ERROR: 0:73: 'triangles' : cannot change previously set input primitive 
25ERROR: 0:74: 'triangles_adjacency' : cannot change previously set input primitive 
26ERROR: 0:106: 'gl_ViewportIndex' : undeclared identifier 
27ERROR: 0:107: 'gl_MaxViewports' : undeclared identifier 
28ERROR: 0:113: 'lines_adjacency' : inconsistent input primitive for array size of explArrayBad
29ERROR: 0:114: 'in' : type must be an array: nonArrayed
30ERROR: 0:122: 'component' : not supported with this profile: es
31ERROR: 0:126: 'gl_MaxGeometryVaryingComponents' : undeclared identifier 
32ERROR: 0:127: 'gl_VerticesIn' : undeclared identifier 
33ERROR: 0:132: 'gl_PointSize' : required extension not requested: Possible extensions include:
34GL_EXT_geometry_point_size
35GL_OES_geometry_point_size
36ERROR: 0:133: 'gl_PointSize' : required extension not requested: Possible extensions include:
37GL_EXT_geometry_point_size
38GL_OES_geometry_point_size
39ERROR: 33 compilation errors.  No code generated.
40
41
42Shader version: 320
43invocations = 4
44max_vertices = 200
45input primitive = lines_adjacency
46output primitive = triangle_strip
47ERROR: node is still EOpNull!
480:29  Function Definition: main( ( global void)
490:29    Function Parameters: 
500:31    Sequence
510:31      EmitVertex ( global void)
520:32      EndPrimitive ( global void)
530:33      Constant:
540:33        0.000000
550:34      Constant:
560:34        0.000000
570:36      move second child to first child ( temp mediump 3-component vector of float)
580:36        color: direct index for structure (layout( stream=0) out mediump 3-component vector of float)
590:36          'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
600:36          Constant:
610:36            0 (const uint)
620:36        color: direct index for structure ( in mediump 3-component vector of float)
630:36          direct index ( temp block{ in mediump 3-component vector of float color})
640:36            'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
650:36            Constant:
660:36              0 (const int)
670:36          Constant:
680:36            0 (const int)
690:37      move second child to first child ( temp highp float)
700:37        direct index (layout( stream=0) temp highp float ClipDistance)
710:37          gl_ClipDistance: direct index for structure (layout( stream=0) out unsized 4-element array of highp float ClipDistance)
720:37            'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
730:37            Constant:
740:37              2 (const uint)
750:37          Constant:
760:37            3 (const int)
770:38        direct index ( temp highp float ClipDistance)
780:38          gl_ClipDistance: direct index for structure ( in unsized 3-element array of highp float ClipDistance)
790:38            direct index ( temp block{ in highp 4-component vector of float Position gl_Position,  in highp float PointSize gl_PointSize})
800:38              'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position,  in highp float PointSize gl_PointSize})
810:38              Constant:
820:38                1 (const int)
830:38            Constant:
840:38              2 (const int)
850:38          Constant:
860:38            2 (const int)
870:39      move second child to first child ( temp highp 4-component vector of float)
880:39        gl_Position: direct index for structure (layout( stream=0) gl_Position highp 4-component vector of float Position)
890:39          'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
900:39          Constant:
910:39            0 (const uint)
920:39        gl_Position: direct index for structure ( in highp 4-component vector of float Position)
930:39          direct index ( temp block{ in highp 4-component vector of float Position gl_Position,  in highp float PointSize gl_PointSize})
940:39            'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position,  in highp float PointSize gl_PointSize})
950:39            Constant:
960:39              0 (const int)
970:39          Constant:
980:39            0 (const int)
990:41      move second child to first child ( temp highp int)
1000:41        'gl_PrimitiveID' (layout( stream=0) out highp int PrimitiveID)
1010:41        'gl_PrimitiveIDIn' ( in highp int PrimitiveID)
1020:42      move second child to first child ( temp highp int)
1030:42        'gl_Layer' (layout( stream=0) out highp int Layer)
1040:42        Constant:
1050:42          2 (const int)
1060:53  Function Definition: foo(i1; ( global void)
1070:53    Function Parameters: 
1080:53      'a' ( in highp int)
1090:55    Sequence
1100:55      move second child to first child ( temp mediump 4-component vector of float)
1110:55        a: direct index for structure (layout( stream=0) out mediump 4-component vector of float)
1120:55          'ouuaa6' (layout( stream=0) out block{layout( stream=0) out mediump 4-component vector of float a})
1130:55          Constant:
1140:55            0 (const int)
1150:55        Constant:
1160:55          1.000000
1170:55          1.000000
1180:55          1.000000
1190:55          1.000000
1200:104  Function Definition: fooe1( ( global void)
1210:104    Function Parameters: 
1220:106    Sequence
1230:106      'gl_ViewportIndex' ( temp float)
1240:107      'gl_MaxViewports' ( temp float)
1250:108      Constant:
1260:108        4 (const int)
1270:109      Sequence
1280:109        move second child to first child ( temp highp int)
1290:109          'inv' ( temp highp int)
1300:109          'gl_InvocationID' ( in highp int InvocationID)
1310:124  Function Definition: notHere( ( global void)
1320:124    Function Parameters: 
1330:126    Sequence
1340:126      'gl_MaxGeometryVaryingComponents' ( temp float)
1350:127      'gl_VerticesIn' ( temp float)
1360:130  Function Definition: pointSize2( ( global void)
1370:130    Function Parameters: 
1380:132    Sequence
1390:132      Sequence
1400:132        move second child to first child ( temp highp float)
1410:132          'ps' ( temp highp float)
1420:132          gl_PointSize: direct index for structure ( in highp float PointSize)
1430:132            direct index ( temp block{ in highp 4-component vector of float Position gl_Position,  in highp float PointSize gl_PointSize})
1440:132              'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position,  in highp float PointSize gl_PointSize})
1450:132              Constant:
1460:132                3 (const int)
1470:132            Constant:
1480:132              1 (const int)
1490:133      move second child to first child ( temp highp float)
1500:133        gl_PointSize: direct index for structure (layout( stream=0) gl_PointSize highp float PointSize)
1510:133          'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
1520:133          Constant:
1530:133            1 (const uint)
1540:133        'ps' ( temp highp float)
1550:?   Linker Objects
1560:?     'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
1570:?     'nonBlockUnsized' ( in 4-element array of mediump 4-component vector of float)
1580:?     'toF' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
1590:?     'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
1600:?     'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
1610:?     'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position,  in highp float PointSize gl_PointSize})
1620:?     'ov4' (layout( stream=4) out mediump 4-component vector of float)
1630:?     'ouuaa6' (layout( stream=0) out block{layout( stream=0) out mediump 4-component vector of float a})
1640:?     'badv4' (layout( stream=0) out mediump 4-component vector of float)
1650:?     'bad2v4' ( in 4-element array of mediump 4-component vector of float)
1660:?     'anon@2' (layout( stream=0) out block{layout( stream=0) out highp int a})
1670:?     'outbi' (layout( stream=0) out block{layout( stream=0) out highp int a, layout( stream=0) out highp int b, layout( stream=0) out highp int c})
1680:?     'insn' ( in 4-element array of block{ in highp int a15})
1690:?     'anon@3' (layout( stream=0) out block{layout( stream=0) out mediump float f15})
1700:?     'anon@4' (layout( column_major shared) uniform block{layout( column_major shared) uniform bool b15})
1710:?     'summ' ( const highp int)
1720:?       2752 (const int)
1730:?     'explArray' ( in 4-element array of mediump 4-component vector of float)
1740:?     'explArrayBad' ( in 5-element array of mediump 4-component vector of float)
1750:?     'nonArrayed' ( in mediump 4-component vector of float)
1760:?     'myColor1' (layout( stream=0) flat out mediump 3-component vector of float)
1770:?     'myColor2' (layout( stream=0) centroid out mediump 3-component vector of float)
1780:?     'centr' ( centroid in 4-element array of mediump 3-component vector of float)
1790:?     'perSampleColor' (layout( stream=0) sample out mediump 4-component vector of float)
1800:?     'comp' (layout( location=7 component=2) in 4-element array of mediump float)
181
182
183Linked geometry stage:
184
185
186Shader version: 320
187invocations = 4
188max_vertices = 200
189input primitive = lines_adjacency
190output primitive = triangle_strip
191ERROR: node is still EOpNull!
1920:29  Function Definition: main( ( global void)
1930:29    Function Parameters: 
1940:31    Sequence
1950:31      EmitVertex ( global void)
1960:32      EndPrimitive ( global void)
1970:33      Constant:
1980:33        0.000000
1990:34      Constant:
2000:34        0.000000
2010:36      move second child to first child ( temp mediump 3-component vector of float)
2020:36        color: direct index for structure (layout( stream=0) out mediump 3-component vector of float)
2030:36          'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
2040:36          Constant:
2050:36            0 (const uint)
2060:36        color: direct index for structure ( in mediump 3-component vector of float)
2070:36          direct index ( temp block{ in mediump 3-component vector of float color})
2080:36            'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
2090:36            Constant:
2100:36              0 (const int)
2110:36          Constant:
2120:36            0 (const int)
2130:37      move second child to first child ( temp highp float)
2140:37        direct index (layout( stream=0) temp highp float ClipDistance)
2150:37          gl_ClipDistance: direct index for structure (layout( stream=0) out 4-element array of highp float ClipDistance)
2160:37            'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
2170:37            Constant:
2180:37              2 (const uint)
2190:37          Constant:
2200:37            3 (const int)
2210:38        direct index ( temp highp float ClipDistance)
2220:38          gl_ClipDistance: direct index for structure ( in 3-element array of highp float ClipDistance)
2230:38            direct index ( temp block{ in highp 4-component vector of float Position gl_Position,  in highp float PointSize gl_PointSize})
2240:38              'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position,  in highp float PointSize gl_PointSize})
2250:38              Constant:
2260:38                1 (const int)
2270:38            Constant:
2280:38              2 (const int)
2290:38          Constant:
2300:38            2 (const int)
2310:39      move second child to first child ( temp highp 4-component vector of float)
2320:39        gl_Position: direct index for structure (layout( stream=0) gl_Position highp 4-component vector of float Position)
2330:39          'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
2340:39          Constant:
2350:39            0 (const uint)
2360:39        gl_Position: direct index for structure ( in highp 4-component vector of float Position)
2370:39          direct index ( temp block{ in highp 4-component vector of float Position gl_Position,  in highp float PointSize gl_PointSize})
2380:39            'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position,  in highp float PointSize gl_PointSize})
2390:39            Constant:
2400:39              0 (const int)
2410:39          Constant:
2420:39            0 (const int)
2430:41      move second child to first child ( temp highp int)
2440:41        'gl_PrimitiveID' (layout( stream=0) out highp int PrimitiveID)
2450:41        'gl_PrimitiveIDIn' ( in highp int PrimitiveID)
2460:42      move second child to first child ( temp highp int)
2470:42        'gl_Layer' (layout( stream=0) out highp int Layer)
2480:42        Constant:
2490:42          2 (const int)
2500:?   Linker Objects
2510:?     'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
2520:?     'nonBlockUnsized' ( in 4-element array of mediump 4-component vector of float)
2530:?     'toF' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
2540:?     'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
2550:?     'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
2560:?     'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position,  in highp float PointSize gl_PointSize})
2570:?     'ov4' (layout( stream=4) out mediump 4-component vector of float)
2580:?     'ouuaa6' (layout( stream=0) out block{layout( stream=0) out mediump 4-component vector of float a})
2590:?     'badv4' (layout( stream=0) out mediump 4-component vector of float)
2600:?     'bad2v4' ( in 4-element array of mediump 4-component vector of float)
2610:?     'anon@2' (layout( stream=0) out block{layout( stream=0) out highp int a})
2620:?     'outbi' (layout( stream=0) out block{layout( stream=0) out highp int a, layout( stream=0) out highp int b, layout( stream=0) out highp int c})
2630:?     'insn' ( in 4-element array of block{ in highp int a15})
2640:?     'anon@3' (layout( stream=0) out block{layout( stream=0) out mediump float f15})
2650:?     'anon@4' (layout( column_major shared) uniform block{layout( column_major shared) uniform bool b15})
2660:?     'summ' ( const highp int)
2670:?       2752 (const int)
2680:?     'explArray' ( in 4-element array of mediump 4-component vector of float)
2690:?     'explArrayBad' ( in 5-element array of mediump 4-component vector of float)
2700:?     'nonArrayed' ( in mediump 4-component vector of float)
2710:?     'myColor1' (layout( stream=0) flat out mediump 3-component vector of float)
2720:?     'myColor2' (layout( stream=0) centroid out mediump 3-component vector of float)
2730:?     'centr' ( centroid in 4-element array of mediump 3-component vector of float)
2740:?     'perSampleColor' (layout( stream=0) sample out mediump 4-component vector of float)
2750:?     'comp' (layout( location=7 component=2) in 4-element array of mediump float)
276