yum-mirror/glslang

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

Wint3rNightAdd GL_EXT_clip_cull_distance and GL_ARB_cull_distance54947913

main
2.2 KiB57 linesraw
1GL_ARB_cull_distance.frag
2Shader version: 440
3Requested GL_ARB_cull_distance
40:? Sequence
50:6  Function Definition: main( ( global void)
60:6    Function Parameters: 
70:8    Sequence
80:8      move second child to first child ( temp 4-component vector of float)
90:8        'color' ( out 4-component vector of float)
100:8        Construct vec4 ( temp 4-component vector of float)
110:8          direct index ( smooth temp float ClipDistance)
120:8            'gl_ClipDistance' ( smooth in unsized 1-element array of float ClipDistance)
130:8            Constant:
140:8              0 (const int)
150:8          direct index ( smooth temp float CullDistance)
160:8            'gl_CullDistance' ( smooth in unsized 1-element array of float CullDistance)
170:8            Constant:
180:8              0 (const int)
190:8          Constant:
200:8            0.000000
210:8          Constant:
220:8            1.000000
230:?   Linker Objects
240:?     'color' ( out 4-component vector of float)
250:?     'gl_ClipDistance' ( smooth in unsized 1-element array of float ClipDistance)
260:?     'gl_CullDistance' ( smooth in unsized 1-element array of float CullDistance)
27
28
29Linked fragment stage:
30
31
32Shader version: 440
33Requested GL_ARB_cull_distance
340:? Sequence
350:6  Function Definition: main( ( global void)
360:6    Function Parameters: 
370:8    Sequence
380:8      move second child to first child ( temp 4-component vector of float)
390:8        'color' ( out 4-component vector of float)
400:8        Construct vec4 ( temp 4-component vector of float)
410:8          direct index ( smooth temp float ClipDistance)
420:8            'gl_ClipDistance' ( smooth in 1-element array of float ClipDistance)
430:8            Constant:
440:8              0 (const int)
450:8          direct index ( smooth temp float CullDistance)
460:8            'gl_CullDistance' ( smooth in 1-element array of float CullDistance)
470:8            Constant:
480:8              0 (const int)
490:8          Constant:
500:8            0.000000
510:8          Constant:
520:8            1.000000
530:?   Linker Objects
540:?     'color' ( out 4-component vector of float)
550:?     'gl_ClipDistance' ( smooth in 1-element array of float ClipDistance)
560:?     'gl_CullDistance' ( smooth in 1-element array of float CullDistance)
57