yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
e7b6de334
master
1//dual-source-blending.slang.glsl 2#version 450 3 4layout (row_major )uniform ; 5layout (row_major )buffer ; 6 7layout (location = 0 ) 8out vec4 main_a_0 ; 9 10layout (location = 0 ,index = 1 ) 11out vec4 main_b_0 ; 12 13layout (location = 0 ) 14in vec4 v_0 ; 15 16struct FragmentOutput_0 17{ 18vec4 a_0 ; 19vec4 b_0 ; 20}; 21 22void main () 23{ 24const vec4 _S1 = vec4 (0.0 ,0.0 ,0.0 ,0.0 ); 25FragmentOutput_0 f_0 ; 26 27f_0 .a_0 = _S1 ; 28 29f_0 .b_0 = _S1 ; 30f_0 .a_0 = v_0 ; 31f_0 .b_0 = v_0 ; 32FragmentOutput_0 _S2 = f_0 ; 33main_a_0 = f_0 .a_0 ; 34main_b_0 = _S2 .b_0 ; 35 36return ; 37}