yum-mirror/glslang

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

ChowAdd support for SPV_KHR_constant_data and SPV_KHR_abort08f27157

main
13.0 KiB309 linesraw
1cppSimple.vert
2ERROR: 0:77: '#error' : good1  
3ERROR: 0:81: '#error' : good2  
4ERROR: 0:85: '#error' : good3  
5ERROR: 0:89: '#error' : good4  
6ERROR: 0:93: '#error' : good5  
7ERROR: 0:97: '#error' : good6  
8ERROR: 0:100: 'preprocessor evaluation' : expected ')' 
9ERROR: 0:101: '#error' : bad1  
10ERROR: 0:104: '#if' : unexpected tokens following directive 
11ERROR: 0:105: '#error' : bad2  
12ERROR: 0:108: 'preprocessor evaluation' : expected ')' 
13ERROR: 0:109: '#error' : bad3  
14ERROR: 0:112: '#if' : unexpected tokens following directive 
15ERROR: 0:113: '#error' : bad4  
16ERROR: 0:116: 'preprocessor evaluation' : expected ')' 
17ERROR: 0:117: '#error' : bad5  
18ERROR: 0:120: '#if' : unexpected tokens following directive 
19ERROR: 0:121: '#error' : bad6  
20ERROR: 0:122: '#endif' : unexpected tokens following directive 
21ERROR: 0:135: 'string literal' : required extension not requested: Possible extensions include:
22GL_EXT_debug_printf
23GL_EXT_spirv_intrinsics
24GL_EXT_abort
25ERROR: 0:136: 'string literal' : required extension not requested: Possible extensions include:
26GL_EXT_debug_printf
27GL_EXT_spirv_intrinsics
28GL_EXT_abort
29ERROR: 0:136: 'length' : no matching overloaded function found 
30ERROR: 0:136: '=' :  cannot convert from ' const float' to ' global int'
31ERROR: 0:138: ''' : character literals not supported 
32ERROR: 0:138: ''' : character literals not supported 
33ERROR: 0:141: '#define' : names beginning with "GL_" can't be (un)defined: GL_
34ERROR: 0:142: '#define' : names beginning with "GL_" can't be (un)defined: GL_Macro
35WARNING: 0:143: '#define' : names containing consecutive underscores are reserved: __M
36WARNING: 0:144: '#define' : names containing consecutive underscores are reserved: M__
37WARNING: 0:145: '#define' : names containing consecutive underscores are reserved: ABC__DE
38ERROR: 0:148: '#else' : unexpected tokens following directive 
39ERROR: 0:149: '#elif' : #elif after #else 
40ERROR: 0:155: '#else' : unexpected tokens following directive 
41ERROR: 0:158: '#else' : #else after #else 
42ERROR: 0:160: '#endif' : unexpected tokens following directive 
43ERROR: 0:164: '#define' : duplicate macro parameter 
44ERROR: 0:173: '#define' : Macro redefined; function-like versus object-like: m4
45ERROR: 0:177: '#define' : Macro redefined; function-like versus object-like: m5
46ERROR: 0:181: '#define' : Macro redefined; different number of arguments: m6
47ERROR: 0:185: '#define' : Macro redefined; different substitutions: m7
48ERROR: 0:192: '#define' : Macro redefined; different substitutions: m8
49ERROR: 0:196: '#define' : Macro redefined; different argument names: m9
50WARNING: 0:204: '#undef' : names containing consecutive underscores are reserved: __VERSION__
51ERROR: 0:205: '#undef' : names beginning with "GL_" can't be (un)defined: GL_ARB_texture_rectangle
52ERROR: 0:210: '#' : invalid directive 
53ERROR: 0:211: '#' : invalid directive 
54ERROR: 0:212: '#' : invalid directive 
55ERROR: 0:213: '#' : invalid directive 
56ERROR: 0:214: '#' : invalid directive 
57ERROR: 0:215: '#' : invalid directive 
58ERROR: 0:224: '#pragma' : optimize pragma syntax is incorrect 
59ERROR: 0:225: '#pragma' : optimize pragma syntax is incorrect 
60ERROR: 0:226: '#pragma' : debug pragma syntax is incorrect 
61ERROR: 0:227: '#pragma' : debug pragma syntax is incorrect 
62ERROR: 0:229: '#pragma' : optimize pragma syntax is incorrect 
63ERROR: 0:230: '#pragma' : debug pragma syntax is incorrect 
64ERROR: 0:233: 'line continuation' : not supported for this version or the enabled extensions 
65ERROR: 0:235: 'line continuation' : not supported for this version or the enabled extensions 
66ERROR: 0:236: '#error' : good continuation  
67ERROR: 0:238: '#' : invalid directive: flizbit
68ERROR: 0:242: '#' : invalid directive: directive
69ERROR: 0:12000: '#error' : line should be 12000  
70ERROR: 7:13000: '#error' : line should be 13000 , string 7  
71ERROR: 7:14013: '#error' : line should be 14013 , string 7  
72ERROR: 12:14013: '#error' : line should be 14013 , string 12  
73ERROR: 12:14025: '#error' : line should be 14025 , string 12  
74ERROR: 12:1233: '#line' : unexpected tokens following directive 
75ERROR: 12:1236: '#line' : unexpected tokens following directive 
76ERROR: 12:20000: '#error' : line should be 20000  
77ERROR: 12:20010: '#error' : line should be 20010  
78ERROR: 12:20020: '#error' : line should be 20020  
79ERROR: 12:20045: '#define' : Macro redefined; different substitutions: SPACE_IN_MIDDLE
80ERROR: 12:20051: '#error' : good evaluation 1  
81ERROR: 12:20055: '#error' : good evaluation 2  
82ERROR: 12:9000: 'preprocessor evaluation' : expected ')' 
83ERROR: 12:9002: '#if' : unexpected tokens following directive 
84ERROR: 12:9014: 'FOOOM' : undeclared identifier 
85ERROR: 12:9014: '=' :  cannot convert from ' temp float' to ' global int'
86ERROR: 12:9015: 'preprocessor evaluation' : can't evaluate expression 
87ERROR: 12:9016: 'preprocessor evaluation' : bad expression 
88ERROR: 12:9500: 'preprocessor evaluation' : bad expression 
89ERROR: 12:9500: '#if' : unexpected tokens following directive 
90ERROR: 12:9502: 'preprocessor evaluation' : bad expression 
91ERROR: 12:9502: '#if' : unexpected tokens following directive 
92ERROR: 12:9504: 'preprocessor evaluation' : bad expression 
93ERROR: 12:9504: '#if' : unexpected tokens following directive 
94ERROR: 12:9506: '#error' : \ 377  
95ERROR: 12:9507: '#error' : \ 376  
96ERROR: 12:9508: '#error' : \ 377  
97ERROR: 12:9602: 'defined' : cannot use in preprocessor expression when expanded from macros 
98ERROR: 12:9603: '#error' : DEF_DEFINED then  
99ERROR: 12:10002: '' : missing #endif 
100ERROR: 88 compilation errors.  No code generated.
101
102
103Shader version: 400
104ERROR: node is still EOpNull!
1050:5  Sequence
1060:5    move second child to first child ( temp float)
1070:5      'sum' ( global float)
1080:5      Constant:
1090:5        0.000000
1100:7  Function Definition: main( ( global void)
1110:7    Function Parameters: 
1120:12    Sequence
1130:12      add second child into first child ( temp float)
1140:12        'sum' ( global float)
1150:12        Constant:
1160:12          1.000000
1170:22      add second child into first child ( temp float)
1180:22        'sum' ( global float)
1190:22        Constant:
1200:22          300.000000
1210:37      add second child into first child ( temp float)
1220:37        'sum' ( global float)
1230:37        Constant:
1240:37          600000.000000
1250:48      add second child into first child ( temp float)
1260:48        'sum' ( global float)
1270:48        Constant:
1280:48          7000000.000000
1290:53      add second child into first child ( temp float)
1300:53        'sum' ( global float)
1310:53        Constant:
1320:53          80000000.000000
1330:58      add second child into first child ( temp float)
1340:58        'sum' ( global float)
1350:58        Constant:
1360:58          900000000.000000
1370:65      add second child into first child ( temp float)
1380:65        'sum' ( global float)
1390:65        Constant:
1400:65          0.050000
1410:69      move second child to first child ( temp 4-component vector of float)
1420:69        gl_Position: direct index for structure ( gl_Position 4-component vector of float Position)
1430:69          'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance})
1440:69          Constant:
1450:69            0 (const uint)
1460:69        Construct vec4 ( temp 4-component vector of float)
1470:69          'sum' ( global float)
1480:124  Sequence
1490:124    move second child to first child ( temp int)
1500:124      'linenumber' ( global int)
1510:124      Constant:
1520:124        124 (const int)
1530:125  Sequence
1540:125    move second child to first child ( temp int)
1550:125      'filenumber' ( global int)
1560:125      Constant:
1570:125        0 (const int)
1580:126  Sequence
1590:126    move second child to first child ( temp int)
1600:126      'version' ( global int)
1610:126      Constant:
1620:126        400 (const int)
1630:130  Sequence
1640:130    move second child to first child ( temp float)
1650:130      'twoPi' ( global float)
1660:130      Constant:
1670:130        6.280000
1680:199  Sequence
1690:199    move second child to first child ( temp int)
1700:199      'n' ( global int)
1710:199      Constant:
1720:199        15 (const int)
1730:202  Sequence
1740:202    move second child to first child ( temp double)
1750:202      'f' ( global double)
1760:202      Constant:
1770:202        0.000800
17812:20031  Function Definition: foo234( ( global void)
17912:20031    Function Parameters: 
18012:20033    Sequence
18112:20033      move second child to first child ( temp 4-component vector of float)
18212:20033        gl_Position: direct index for structure ( gl_Position 4-component vector of float Position)
18312:20033          'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance})
18412:20033          Constant:
18512:20033            0 (const uint)
18612:20033        Constant:
18712:20033          6.000000
18812:20033          6.000000
18912:20033          6.000000
19012:20033          6.000000
19112:9011  Sequence
19212:9011    move second child to first child ( temp int)
19312:9011      'R1' ( global int)
19412:9011      'RECURSE' ( global int)
1950:?   Linker Objects
1960:?     'sum' ( global float)
1970:?     'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance})
1980:?     'linenumber' ( global int)
1990:?     'filenumber' ( global int)
2000:?     'version' ( global int)
2010:?     'twoPi' ( global float)
2020:?     'a' ( global int)
2030:?     'n' ( global int)
2040:?     'f' ( global double)
2050:?     'RECURSE' ( global int)
2060:?     'R1' ( global int)
2070:?     'aoeua' ( global int)
2080:?     'gl_VertexID' ( gl_VertexId int VertexId)
2090:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
210
211
212Linked vertex stage:
213
214
215Shader version: 400
216ERROR: node is still EOpNull!
2170:5  Sequence
2180:5    move second child to first child ( temp float)
2190:5      'sum' ( global float)
2200:5      Constant:
2210:5        0.000000
2220:7  Function Definition: main( ( global void)
2230:7    Function Parameters: 
2240:12    Sequence
2250:12      add second child into first child ( temp float)
2260:12        'sum' ( global float)
2270:12        Constant:
2280:12          1.000000
2290:22      add second child into first child ( temp float)
2300:22        'sum' ( global float)
2310:22        Constant:
2320:22          300.000000
2330:37      add second child into first child ( temp float)
2340:37        'sum' ( global float)
2350:37        Constant:
2360:37          600000.000000
2370:48      add second child into first child ( temp float)
2380:48        'sum' ( global float)
2390:48        Constant:
2400:48          7000000.000000
2410:53      add second child into first child ( temp float)
2420:53        'sum' ( global float)
2430:53        Constant:
2440:53          80000000.000000
2450:58      add second child into first child ( temp float)
2460:58        'sum' ( global float)
2470:58        Constant:
2480:58          900000000.000000
2490:65      add second child into first child ( temp float)
2500:65        'sum' ( global float)
2510:65        Constant:
2520:65          0.050000
2530:69      move second child to first child ( temp 4-component vector of float)
2540:69        gl_Position: direct index for structure ( gl_Position 4-component vector of float Position)
2550:69          'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance})
2560:69          Constant:
2570:69            0 (const uint)
2580:69        Construct vec4 ( temp 4-component vector of float)
2590:69          'sum' ( global float)
2600:124  Sequence
2610:124    move second child to first child ( temp int)
2620:124      'linenumber' ( global int)
2630:124      Constant:
2640:124        124 (const int)
2650:125  Sequence
2660:125    move second child to first child ( temp int)
2670:125      'filenumber' ( global int)
2680:125      Constant:
2690:125        0 (const int)
2700:126  Sequence
2710:126    move second child to first child ( temp int)
2720:126      'version' ( global int)
2730:126      Constant:
2740:126        400 (const int)
2750:130  Sequence
2760:130    move second child to first child ( temp float)
2770:130      'twoPi' ( global float)
2780:130      Constant:
2790:130        6.280000
2800:199  Sequence
2810:199    move second child to first child ( temp int)
2820:199      'n' ( global int)
2830:199      Constant:
2840:199        15 (const int)
2850:202  Sequence
2860:202    move second child to first child ( temp double)
2870:202      'f' ( global double)
2880:202      Constant:
2890:202        0.000800
29012:9011  Sequence
29112:9011    move second child to first child ( temp int)
29212:9011      'R1' ( global int)
29312:9011      'RECURSE' ( global int)
2940:?   Linker Objects
2950:?     'sum' ( global float)
2960:?     'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance})
2970:?     'linenumber' ( global int)
2980:?     'filenumber' ( global int)
2990:?     'version' ( global int)
3000:?     'twoPi' ( global float)
3010:?     'a' ( global int)
3020:?     'n' ( global int)
3030:?     'f' ( global double)
3040:?     'RECURSE' ( global int)
3050:?     'R1' ( global int)
3060:?     'aoeua' ( global int)
3070:?     'gl_VertexID' ( gl_VertexId int VertexId)
3080:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
309