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
20.5 KiB479 linesraw
1130.frag
2ERROR: 0:25: 'textureGather(...)' : not supported for this version or the enabled extensions 
3ERROR: 0:35: 'redeclaration' : cannot change the type of gl_Color
4ERROR: 0:38: 'gl_Color' : redeclaring non-array as array 
5ERROR: 0:39: 'redeclaration' : cannot change storage, memory, or auxiliary qualification of gl_Color
6WARNING: 0:45: extension GL_ARB_texture_gather is being used for textureGather(...)
7ERROR: 0:62: '<' :  wrong operand types: no operation '<' exists that takes a left-hand operand of type ' temp 3-component vector of bool' and a right operand of type ' temp 3-component vector of bool' (or there is no acceptable conversion)
8ERROR: 0:63: '>' :  wrong operand types: no operation '>' exists that takes a left-hand operand of type ' temp 3-component vector of uint' and a right operand of type ' temp 3-component vector of uint' (or there is no acceptable conversion)
9ERROR: 0:64: '>=' :  wrong operand types: no operation '>=' exists that takes a left-hand operand of type ' const 2-component vector of uint' and a right operand of type ' const 2-component vector of uint' (or there is no acceptable conversion)
10ERROR: 0:65: 'gl_NumSamples' : required extension not requested: GL_ARB_sample_shading
11ERROR: 0:82: 'textureGatherOffset' : no matching overloaded function found 
12ERROR: 0:82: 'assign' :  cannot convert from ' const float' to ' temp 4-component vector of float'
13ERROR: 0:83: 'textureGatherOffset(...)' : not supported for this version or the enabled extensions 
14ERROR: 0:86: 'textureGatherOffset(...)' : not supported for this version or the enabled extensions 
15ERROR: 0:87: 'textureGatherOffset(...)' : not supported for this version or the enabled extensions 
16ERROR: 0:123: 'line continuation' : not supported for this version or the enabled extensions 
17ERROR: 0:129: 'uniform block' : not supported for this version or the enabled extensions 
18ERROR: 0:143: 'length' : does not operate on this type:  temp bool
19ERROR: 0:143: 'boolb' : can't use function syntax on variable 
20ERROR: 0:144: 'length' : does not operate on this type:  temp float
21ERROR: 0:144: '' : function call, method, or subroutine call expected 
22ERROR: 0:144: '' : no matching overloaded function found 
23ERROR: 0:145: 'length' : incomplete method syntax 
24ERROR: 0:146: 'length' : method does not accept any arguments 
25ERROR: 0:149: 'gl_FogFragCoord' : identifiers starting with "gl_" are reserved 
26ERROR: 0:154: 'int' : must be qualified as flat in
27ERROR: 0:154: 'redeclaration' : cannot change the type of gl_FogFragCoord
28ERROR: 0:156: 'early_fragment_tests' : not supported for this version or the enabled extensions 
29ERROR: 0:157: 'image load store' : not supported for this version or the enabled extensions 
30ERROR: 0:157: 'iimage2D' : Reserved word. 
31ERROR: 0:172: 'early_fragment_tests' : can only apply to 'in' 
32ERROR: 0:176: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions 
33ERROR: 30 compilation errors.  No code generated.
34
35
36Shader version: 130
37Requested GL_ARB_explicit_attrib_location
38Requested GL_ARB_explicit_uniform_location
39Requested GL_ARB_gpu_shader5
40Requested GL_ARB_sample_shading
41Requested GL_ARB_separate_shader_objects
42Requested GL_ARB_shader_image_load_store
43Requested GL_ARB_shading_language_420pack
44Requested GL_ARB_texture_cube_map_array
45Requested GL_ARB_texture_gather
46Requested GL_ARB_texture_rectangle
47using early_fragment_tests
48ERROR: node is still EOpNull!
490:16  Function Definition: main( ( global void)
500:16    Function Parameters: 
510:18    Sequence
520:18      Sequence
530:18        move second child to first child ( temp float)
540:18          'clip' ( temp float)
550:18          direct index ( smooth temp float ClipDistance)
560:18            'gl_ClipDistance' ( smooth in unsized 4-element array of float ClipDistance)
570:18            Constant:
580:18              3 (const int)
590:23  Function Definition: foo( ( global void)
600:23    Function Parameters: 
610:25    Sequence
620:25      Sequence
630:25        move second child to first child ( temp 4-component vector of float)
640:25          's' ( temp 4-component vector of float)
650:25          textureGather ( global 4-component vector of float)
660:25            'sampC' ( uniform samplerCube)
670:25            Constant:
680:25              0.200000
690:25              0.200000
700:25              0.200000
710:30  Function Definition: bar( ( global void)
720:30    Function Parameters: 
730:32    Sequence
740:32      Sequence
750:32        move second child to first child ( temp 4-component vector of float)
760:32          's' ( temp 4-component vector of float)
770:32          textureGather ( global 4-component vector of float)
780:32            'sampC' ( uniform samplerCube)
790:32            Constant:
800:32              0.200000
810:32              0.200000
820:32              0.200000
830:43  Function Definition: bar2( ( global void)
840:43    Function Parameters: 
850:45    Sequence
860:45      Sequence
870:45        move second child to first child ( temp 4-component vector of float)
880:45          's' ( temp 4-component vector of float)
890:45          textureGather ( global 4-component vector of float)
900:45            'sampC' ( uniform samplerCube)
910:45            Constant:
920:45              0.200000
930:45              0.200000
940:45              0.200000
950:49      move second child to first child ( temp 3-component vector of bool)
960:49        'b3' ( temp 3-component vector of bool)
970:49        Compare Less Than ( global 3-component vector of bool)
980:49          'uv3' ( temp 3-component vector of uint)
990:49          'uv3' ( temp 3-component vector of uint)
1000:50      move second child to first child ( temp 3-component vector of bool)
1010:50        'b3' ( temp 3-component vector of bool)
1020:50        Equal ( global 3-component vector of bool)
1030:50          'uv3' ( temp 3-component vector of uint)
1040:50          'uv3' ( temp 3-component vector of uint)
1050:56      direct index ( temp int)
1060:56        'a1' ( temp 1-element array of int)
1070:56        Constant:
1080:56          0 (const int)
1090:57      direct index ( temp int)
1100:57        'a2' ( temp 1-element array of int)
1110:57        Constant:
1120:57          0 (const int)
1130:60      direct index ( temp int)
1140:60        'a3' ( temp 4-element array of int)
1150:60        Constant:
1160:60          3 (const int)
1170:61      Compare Not Equal ( temp bool)
1180:61        'b3' ( temp 3-component vector of bool)
1190:61        'b3' ( temp 3-component vector of bool)
1200:62      Constant:
1210:62        false (const bool)
1220:63      Constant:
1230:63        false (const bool)
1240:64      Constant:
1250:64        false (const bool)
1260:65      Sequence
1270:65        move second child to first child ( temp int)
1280:65          'samples' ( temp int)
1290:65          'gl_NumSamples' ( uniform int SampleMaskIn)
1300:66      Constant:
1310:66        true (const bool)
1320:67      Constant:
1330:67        false (const bool)
1340:79  Function Definition: bar23( ( global void)
1350:79    Function Parameters: 
1360:?     Sequence
1370:82      's' ( temp 4-component vector of float)
1380:83      move second child to first child ( temp 4-component vector of float)
1390:83        's' ( temp 4-component vector of float)
1400:83        textureGatherOffset ( global 4-component vector of float)
1410:83          'samp2DR' ( uniform sampler2DRect)
1420:83          Constant:
1430:83            0.300000
1440:83            0.300000
1450:83          Constant:
1460:83            1 (const int)
1470:83            1 (const int)
1480:84      move second child to first child ( temp 4-component vector of float)
1490:84        's' ( temp 4-component vector of float)
1500:84        textureGatherOffset ( global 4-component vector of float)
1510:84          'samp2D' ( uniform sampler2D)
1520:84          Constant:
1530:84            0.300000
1540:84            0.300000
1550:84          Constant:
1560:84            1 (const int)
1570:84            1 (const int)
1580:85      move second child to first child ( temp 4-component vector of float)
1590:85        's' ( temp 4-component vector of float)
1600:85        textureGatherOffset ( global 4-component vector of float)
1610:85          'samp2DA' ( uniform sampler2DArray)
1620:85          Constant:
1630:85            0.300000
1640:85            0.300000
1650:85            0.300000
1660:85          Constant:
1670:85            1 (const int)
1680:85            1 (const int)
1690:86      move second child to first child ( temp 4-component vector of float)
1700:86        's' ( temp 4-component vector of float)
1710:86        textureGatherOffset ( global 4-component vector of float)
1720:86          'samp2DS' ( uniform sampler2DShadow)
1730:86          Constant:
1740:86            0.300000
1750:86            0.300000
1760:86          Constant:
1770:86            1.300000
1780:86          Constant:
1790:86            1 (const int)
1800:86            1 (const int)
1810:87      move second child to first child ( temp 4-component vector of float)
1820:87        's' ( temp 4-component vector of float)
1830:87        textureGatherOffset ( global 4-component vector of float)
1840:87          'samp2D' ( uniform sampler2D)
1850:87          Constant:
1860:87            0.300000
1870:87            0.300000
1880:87          Constant:
1890:87            1 (const int)
1900:87            1 (const int)
1910:87          Constant:
1920:87            2 (const int)
1930:88      Sequence
1940:88        move second child to first child ( temp int)
1950:88          'samples' ( temp int)
1960:88          'gl_NumSamples' ( uniform int SampleMaskIn)
1970:93  Function Definition: bar234( ( global void)
1980:93    Function Parameters: 
1990:?     Sequence
2000:96      move second child to first child ( temp 4-component vector of float)
2010:96        's' ( temp 4-component vector of float)
2020:96        textureGatherOffset ( global 4-component vector of float)
2030:96          'samp2D' ( uniform sampler2D)
2040:96          Constant:
2050:96            0.300000
2060:96            0.300000
2070:96          Constant:
2080:96            1 (const int)
2090:96            1 (const int)
2100:97      move second child to first child ( temp 4-component vector of float)
2110:97        's' ( temp 4-component vector of float)
2120:97        textureGatherOffset ( global 4-component vector of float)
2130:97          'samp2DA' ( uniform sampler2DArray)
2140:97          Constant:
2150:97            0.300000
2160:97            0.300000
2170:97            0.300000
2180:97          Constant:
2190:97            1 (const int)
2200:97            1 (const int)
2210:98      move second child to first child ( temp 4-component vector of float)
2220:98        's' ( temp 4-component vector of float)
2230:98        textureGatherOffset ( global 4-component vector of float)
2240:98          'samp2DR' ( uniform sampler2DRect)
2250:98          Constant:
2260:98            0.300000
2270:98            0.300000
2280:98          Constant:
2290:98            1 (const int)
2300:98            1 (const int)
2310:99      move second child to first child ( temp 4-component vector of float)
2320:99        's' ( temp 4-component vector of float)
2330:99        textureGatherOffset ( global 4-component vector of float)
2340:99          'samp2DS' ( uniform sampler2DShadow)
2350:99          Constant:
2360:99            0.300000
2370:99            0.300000
2380:99          Constant:
2390:99            1.300000
2400:99          Constant:
2410:99            1 (const int)
2420:99            1 (const int)
2430:100      move second child to first child ( temp 4-component vector of float)
2440:100        's' ( temp 4-component vector of float)
2450:100        textureGatherOffset ( global 4-component vector of float)
2460:100          'samp2D' ( uniform sampler2D)
2470:100          Constant:
2480:100            0.300000
2490:100            0.300000
2500:100          Constant:
2510:100            1 (const int)
2520:100            1 (const int)
2530:100          Constant:
2540:100            2 (const int)
2550:110  Function Definition: bar235( ( global void)
2560:110    Function Parameters: 
2570:112    Sequence
2580:112      Sequence
2590:112        move second child to first child ( temp 3-component vector of int)
2600:112          'a' ( temp 3-component vector of int)
2610:112          textureSize ( global 3-component vector of int)
2620:112            'Sca' ( uniform samplerCubeArray)
2630:112            Constant:
2640:112              3 (const int)
2650:113      Sequence
2660:113        move second child to first child ( temp 4-component vector of float)
2670:113          'b' ( temp 4-component vector of float)
2680:113          texture ( global 4-component vector of float)
2690:113            'Sca' ( uniform samplerCubeArray)
2700:113            'i' ( smooth in 4-component vector of float)
2710:114      Sequence
2720:114        move second child to first child ( temp 4-component vector of int)
2730:114          'c' ( temp 4-component vector of int)
2740:114          texture ( global 4-component vector of int)
2750:114            'Isca' ( uniform isamplerCubeArray)
2760:114            'i' ( smooth in 4-component vector of float)
2770:114            Constant:
2780:114              0.700000
2790:115      Sequence
2800:115        move second child to first child ( temp 4-component vector of uint)
2810:115          'd' ( temp 4-component vector of uint)
2820:115          texture ( global 4-component vector of uint)
2830:115            'Usca' ( uniform usamplerCubeArray)
2840:115            'i' ( smooth in 4-component vector of float)
2850:117      move second child to first child ( temp 4-component vector of float)
2860:117        'b' ( temp 4-component vector of float)
2870:117        textureLod ( global 4-component vector of float)
2880:117          'Sca' ( uniform samplerCubeArray)
2890:117          'i' ( smooth in 4-component vector of float)
2900:117          Constant:
2910:117            1.700000
2920:118      move second child to first child ( temp 3-component vector of int)
2930:118        'a' ( temp 3-component vector of int)
2940:118        textureSize ( global 3-component vector of int)
2950:118          'Scas' ( uniform samplerCubeArrayShadow)
2960:118          direct index ( temp int)
2970:118            'a' ( temp 3-component vector of int)
2980:118            Constant:
2990:118              0 (const int)
3000:119      Sequence
3010:119        move second child to first child ( temp float)
3020:119          'f' ( temp float)
3030:119          texture ( global float)
3040:119            'Scas' ( uniform samplerCubeArrayShadow)
3050:119            'i' ( smooth in 4-component vector of float)
3060:119            direct index ( temp float)
3070:119              'b' ( temp 4-component vector of float)
3080:119              Constant:
3090:119                1 (const int)
3100:120      move second child to first child ( temp 4-component vector of int)
3110:120        'c' ( temp 4-component vector of int)
3120:120        textureGrad ( global 4-component vector of int)
3130:120          'Isca' ( uniform isamplerCubeArray)
3140:120          'i' ( smooth in 4-component vector of float)
3150:120          Constant:
3160:120            0.100000
3170:120            0.100000
3180:120            0.100000
3190:120          Constant:
3200:120            0.200000
3210:120            0.200000
3220:120            0.200000
3230:132  Function Definition: bar23444( ( global void)
3240:132    Function Parameters: 
3250:?     Sequence
3260:135      Sequence
3270:135        move second child to first child ( temp float)
3280:135          'a1' ( temp float)
3290:135          direct index ( temp float)
3300:135            direct index ( temp 3-component vector of float)
3310:135              'm43' ( temp 4X3 matrix of float)
3320:135              Constant:
3330:135                3 (const int)
3340:135            Constant:
3350:135              1 (const int)
3360:137      Sequence
3370:137        move second child to first child ( temp int)
3380:137          'a2' ( temp int)
3390:137          Constant:
3400:137            4 (const int)
3410:138      add second child into first child ( temp int)
3420:138        'a2' ( temp int)
3430:138        Constant:
3440:138          3 (const int)
3450:139      add second child into first child ( temp int)
3460:139        'a2' ( temp int)
3470:139        Constant:
3480:139          3 (const int)
3490:140      Sequence
3500:140        move second child to first child ( temp float)
3510:140          'b' ( const (read only) float)
3520:140          component-wise multiply ( temp float)
3530:140            Constant:
3540:140              2.000000
3550:140            'a1' ( temp float)
3560:141      move second child to first child ( temp float)
3570:141        direct index ( temp float)
3580:141          'a' ( global 3-component vector of float)
3590:141          Constant:
3600:141            0 (const int)
3610:141        Constant:
3620:141          -1.000000
3630:143      Constant:
3640:143        0.000000
3650:144      Constant:
3660:144        0.000000
3670:146      Constant:
3680:146        1 (const int)
3690:165  Function Definition: qux2( ( global void)
3700:165    Function Parameters: 
3710:?     Sequence
3720:168      imageAtomicCompSwap ( global int)
3730:168        'iimg2D' (layout( r32i) uniform iimage2D)
3740:168        Construct ivec2 ( temp 2-component vector of int)
3750:168          'i' ( temp int)
3760:168          'i' ( temp int)
3770:168        'i' ( temp int)
3780:168        'i' ( temp int)
3790:169      Sequence
3800:169        move second child to first child ( temp 4-component vector of int)
3810:169          'pos' ( temp 4-component vector of int)
3820:169          imageLoad ( global 4-component vector of int)
3830:169            'iimg2D' (layout( r32i) uniform iimage2D)
3840:169            Construct ivec2 ( temp 2-component vector of int)
3850:169              'i' ( temp int)
3860:169              'i' ( temp int)
3870:?   Linker Objects
3880:?     'a' ( global 3-component vector of float)
3890:?     'b' ( global float)
3900:?     'c' ( global int)
3910:?     'i' ( smooth in 4-component vector of float)
3920:?     'o' ( out 4-component vector of float)
3930:?     'fflat' ( flat in float)
3940:?     'fsmooth' ( smooth in float)
3950:?     'fnop' ( noperspective in float)
3960:?     'gl_ClipDistance' ( smooth in unsized 4-element array of float ClipDistance)
3970:?     'sampC' ( uniform samplerCube)
3980:?     'gl_Color' ( in 4-component vector of float Color)
3990:?     'samp2D' ( uniform sampler2D)
4000:?     'samp2DS' ( uniform sampler2DShadow)
4010:?     'samp2DR' ( uniform sampler2DRect)
4020:?     'samp2DA' ( uniform sampler2DArray)
4030:?     'Sca' ( uniform samplerCubeArray)
4040:?     'Isca' ( uniform isamplerCubeArray)
4050:?     'Usca' ( uniform usamplerCubeArray)
4060:?     'Scas' ( uniform samplerCubeArrayShadow)
4070:?     'x' ( global int)
4080:?     'ai' ( const 3-element array of int)
4090:?       10 (const int)
4100:?       23 (const int)
4110:?       32 (const int)
4120:?     'instanceName' (layout( binding=0 column_major shared) uniform block{layout( column_major shared) uniform int a})
4130:?     'bounds' (layout( binding=0) uniform sampler2D)
4140:?     'gl_FogFragCoord' ( smooth in float)
4150:?     'iimg2Dbad' (layout( r32i) uniform iimage2D)
4160:?     'iimg2D' (layout( r32i) uniform iimage2D)
4170:?     'ucolor0' (layout( location=3) uniform 4-component vector of float)
4180:?     'ucolor1' (layout( location=4) uniform 4-component vector of float)
419
420
421Linked fragment stage:
422
423
424Shader version: 130
425Requested GL_ARB_explicit_attrib_location
426Requested GL_ARB_explicit_uniform_location
427Requested GL_ARB_gpu_shader5
428Requested GL_ARB_sample_shading
429Requested GL_ARB_separate_shader_objects
430Requested GL_ARB_shader_image_load_store
431Requested GL_ARB_shading_language_420pack
432Requested GL_ARB_texture_cube_map_array
433Requested GL_ARB_texture_gather
434Requested GL_ARB_texture_rectangle
435using early_fragment_tests
436ERROR: node is still EOpNull!
4370:16  Function Definition: main( ( global void)
4380:16    Function Parameters: 
4390:18    Sequence
4400:18      Sequence
4410:18        move second child to first child ( temp float)
4420:18          'clip' ( temp float)
4430:18          direct index ( smooth temp float ClipDistance)
4440:18            'gl_ClipDistance' ( smooth in 4-element array of float ClipDistance)
4450:18            Constant:
4460:18              3 (const int)
4470:?   Linker Objects
4480:?     'a' ( global 3-component vector of float)
4490:?     'b' ( global float)
4500:?     'c' ( global int)
4510:?     'i' ( smooth in 4-component vector of float)
4520:?     'o' ( out 4-component vector of float)
4530:?     'fflat' ( flat in float)
4540:?     'fsmooth' ( smooth in float)
4550:?     'fnop' ( noperspective in float)
4560:?     'gl_ClipDistance' ( smooth in 4-element array of float ClipDistance)
4570:?     'sampC' ( uniform samplerCube)
4580:?     'gl_Color' ( in 4-component vector of float Color)
4590:?     'samp2D' ( uniform sampler2D)
4600:?     'samp2DS' ( uniform sampler2DShadow)
4610:?     'samp2DR' ( uniform sampler2DRect)
4620:?     'samp2DA' ( uniform sampler2DArray)
4630:?     'Sca' ( uniform samplerCubeArray)
4640:?     'Isca' ( uniform isamplerCubeArray)
4650:?     'Usca' ( uniform usamplerCubeArray)
4660:?     'Scas' ( uniform samplerCubeArrayShadow)
4670:?     'x' ( global int)
4680:?     'ai' ( const 3-element array of int)
4690:?       10 (const int)
4700:?       23 (const int)
4710:?       32 (const int)
4720:?     'instanceName' (layout( binding=0 column_major shared) uniform block{layout( column_major shared) uniform int a})
4730:?     'bounds' (layout( binding=0) uniform sampler2D)
4740:?     'gl_FogFragCoord' ( smooth in float)
4750:?     'iimg2Dbad' (layout( r32i) uniform iimage2D)
4760:?     'iimg2D' (layout( r32i) uniform iimage2D)
4770:?     'ucolor0' (layout( location=3) uniform 4-component vector of float)
4780:?     'ucolor1' (layout( location=4) uniform 4-component vector of float)
479