yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
e7b6de334
master
1#version 450 2layout (row_major )uniform ; 3layout (row_major )buffer ; 4struct F_0 5{ 6vec4 v0_0 ; 7vec2 v1_0 ; 8}; 9 10float F_get_0 (F_0 this_0 ) 11{ 12return this_0 .v0_0 .x + this_0 .v1_0 .x ; 13} 14 15float E_get_0 () 16{ 17return 1.0 ; 18} 19 20layout (location = 0 ) 21in vec3 vIn_p0_0 ; 22 23layout (location = 1 ) 24in vec4 vIn_field_v0_0 ; 25 26layout (location = 2 ) 27in vec2 _S3 ; 28 29struct VOut_0 30{ 31vec4 projPos_0 ; 32}; 33void main () 34{ 35F_0 _S4 = {vIn_field_v0_0 ,_S3 }; 36VOut_0 vout_0 ; 37vout_0 .projPos_0 = vec4 (vIn_p0_0 ,F_get_0 (_S4 )+ E_get_0 ()); 38gl_Position = vout_0 .projPos_0 ; 39return ; 40}