yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
9ed38739
main
1#line 1 "C:\\Users\\Greg\\shaders\\line\\foo4.frag" 2Texture2D g_tColor [128 ] ; 3 4layout (push_constant )cbuffer PerViewConstantBuffer_t 5{ 6uint g_nDataIdx ; 7uint g_nDataIdx2 ; 8bool g_B ; 9} ; 10 11#line 12 12SamplerState g_sAniso ; 13 14struct PS_INPUT 15{ 16float2 vTextureCoords :TEXCOORD2 ; 17} ; 18 19struct PS_OUTPUT 20{ 21float4 vColor :SV_Target0 ; 22} ; 23 24PS_OUTPUT MainPs (PS_INPUT i ) 25{ 26PS_OUTPUT ps_output ; 27 28uint u ; 29if (g_B ) 30 31 32#line 1 "C:\\Users\\Greg\\shaders\\line\\u1.h" 33u = g_nDataIdx ; 34 35 36#line 31 "C:\\Users\\Greg\\shaders\\line\\foo4.frag" 37else 38u = g_nDataIdx2 ; 39ps_output .vColor = g_tColor [u ] .Sample (g_sAniso ,i .vTextureCoords .xy ) ; 40return ps_output ; 41} 42