yum-mirror/glslang

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

Wint3rNightFold bit-cast conversions as constant expressions90afccfb

main
1.7 KiB61 linesraw
1constFoldBitCast64.frag
2Shader version: 450
3Requested GL_ARB_gpu_shader_int64
40:? Sequence
50:4  Function Definition: main( ( global void)
60:4    Function Parameters: 
70:6    Sequence
80:6      Sequence
90:6        move second child to first child ( temp int64_t)
100:6          'a' ( temp int64_t)
110:6          Constant:
120:6            4607182418800017408 (const int64_t)
130:7      Sequence
140:7        move second child to first child ( temp uint64_t)
150:7          'b' ( temp uint64_t)
160:7          Constant:
170:7            4611686018427387904 (const uint64_t)
180:8      Sequence
190:8        move second child to first child ( temp double)
200:8          'c' ( temp double)
210:8          Constant:
220:8            1.000000
230:9      Sequence
240:9        move second child to first child ( temp double)
250:9          'd' ( temp double)
260:9          Constant:
270:9            -1.000000
280:?   Linker Objects
29
30
31Linked fragment stage:
32
33
34Shader version: 450
35Requested GL_ARB_gpu_shader_int64
360:? Sequence
370:4  Function Definition: main( ( global void)
380:4    Function Parameters: 
390:6    Sequence
400:6      Sequence
410:6        move second child to first child ( temp int64_t)
420:6          'a' ( temp int64_t)
430:6          Constant:
440:6            4607182418800017408 (const int64_t)
450:7      Sequence
460:7        move second child to first child ( temp uint64_t)
470:7          'b' ( temp uint64_t)
480:7          Constant:
490:7            4611686018427387904 (const uint64_t)
500:8      Sequence
510:8        move second child to first child ( temp double)
520:8          'c' ( temp double)
530:8          Constant:
540:8            1.000000
550:9      Sequence
560:9        move second child to first child ( temp double)
570:9          'd' ( temp double)
580:9          Constant:
590:9            -1.000000
600:?   Linker Objects
61