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
4.4 KiB113 linesraw
1textureQueryLOD.frag
2Shader version: 150
3Requested GL_ARB_gpu_shader5
4Requested GL_ARB_texture_query_lod
50:? Sequence
60:24  Function Definition: main( ( global void)
70:24    Function Parameters: 
80:26    Sequence
90:26      switch
100:26      condition
110:26        'funct' ( uniform int)
120:26      body
130:26        Sequence
140:28          case:  with expression
150:28            Constant:
160:28              0 (const int)
170:?           Sequence
180:29            Sequence
190:29              move second child to first child ( temp 2-component vector of int)
200:29                'iv2' ( temp 2-component vector of int)
210:29                textureSize ( global 2-component vector of int)
220:29                  'sampler' ( uniform sampler2DShadow)
230:29                  Constant:
240:29                    0 (const int)
250:31            Sequence
260:31              move second child to first child ( temp 2-component vector of float)
270:31                'fv2' ( temp 2-component vector of float)
280:31                textureQueryLod ( global 2-component vector of float)
290:31                  'sampler' ( uniform sampler2DShadow)
300:31                  Constant:
310:31                    0.000000
320:31                    0.000000
330:33            move second child to first child ( temp 4-component vector of float)
340:33              'color' ( out 4-component vector of float)
350:33              Construct vec4 ( temp 4-component vector of float)
360:33                Convert int to float ( temp 2-component vector of float)
370:33                  'iv2' ( temp 2-component vector of int)
380:33                'fv2' ( temp 2-component vector of float)
390:34            Branch: Break
400:35          default: 
410:?           Sequence
420:36            move second child to first child ( temp 4-component vector of float)
430:36              'color' ( out 4-component vector of float)
440:36              Constant:
450:36                1.000000
460:36                1.000000
470:36                1.000000
480:36                1.000000
490:37            Branch: Break
500:?   Linker Objects
510:?     'vUV' ( smooth in 2-component vector of float)
520:?     'color' ( out 4-component vector of float)
530:?     'sampler' ( uniform sampler2DShadow)
540:?     'funct' ( uniform int)
55
56
57Linked fragment stage:
58
59
60Shader version: 150
61Requested GL_ARB_gpu_shader5
62Requested GL_ARB_texture_query_lod
630:? Sequence
640:24  Function Definition: main( ( global void)
650:24    Function Parameters: 
660:26    Sequence
670:26      switch
680:26      condition
690:26        'funct' ( uniform int)
700:26      body
710:26        Sequence
720:28          case:  with expression
730:28            Constant:
740:28              0 (const int)
750:?           Sequence
760:29            Sequence
770:29              move second child to first child ( temp 2-component vector of int)
780:29                'iv2' ( temp 2-component vector of int)
790:29                textureSize ( global 2-component vector of int)
800:29                  'sampler' ( uniform sampler2DShadow)
810:29                  Constant:
820:29                    0 (const int)
830:31            Sequence
840:31              move second child to first child ( temp 2-component vector of float)
850:31                'fv2' ( temp 2-component vector of float)
860:31                textureQueryLod ( global 2-component vector of float)
870:31                  'sampler' ( uniform sampler2DShadow)
880:31                  Constant:
890:31                    0.000000
900:31                    0.000000
910:33            move second child to first child ( temp 4-component vector of float)
920:33              'color' ( out 4-component vector of float)
930:33              Construct vec4 ( temp 4-component vector of float)
940:33                Convert int to float ( temp 2-component vector of float)
950:33                  'iv2' ( temp 2-component vector of int)
960:33                'fv2' ( temp 2-component vector of float)
970:34            Branch: Break
980:35          default: 
990:?           Sequence
1000:36            move second child to first child ( temp 4-component vector of float)
1010:36              'color' ( out 4-component vector of float)
1020:36              Constant:
1030:36                1.000000
1040:36                1.000000
1050:36                1.000000
1060:36                1.000000
1070:37            Branch: Break
1080:?   Linker Objects
1090:?     'vUV' ( smooth in 2-component vector of float)
1100:?     'color' ( out 4-component vector of float)
1110:?     'sampler' ( uniform sampler2DShadow)
1120:?     'funct' ( uniform int)
113