mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-01 04:55:42 -04:00
12 lines
284 B
HLSL
12 lines
284 B
HLSL
Texture2D samp0 : register(t0);
|
|
SamplerState samp0_ss : register(s0);
|
|
|
|
void main(in float2 v_tex0 : TEXCOORD0,
|
|
out float4 o_col0 : SV_Target)
|
|
{
|
|
#ifdef ALPHA
|
|
o_col0 = samp0.Sample(samp0_ss, v_tex0);
|
|
#else
|
|
o_col0 = float4(samp0.Sample(samp0_ss, v_tex0).rgb, 1.0);
|
|
#endif
|
|
} |