yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
198652a6
main
1struct FxaaTex {SamplerState smpl ;Texture2D tex ;float f ; }; 2SamplerState g_tInputTexture_sampler ;Texture2D g_tInputTexture ; 3 4float4 lookUp (FxaaTex tex ) 5{ 6return tex .tex .Sample (tex .smpl ,float2 (tex .f ,tex .f )); 7} 8 9float4 main () :SV_TARGET0 10{ 11FxaaTex tex = {g_tInputTexture_sampler ,g_tInputTexture ,0.5 }; 12return lookUp (tex ); 13}