mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-27 05:00:28 +00:00
21 lines
354 B
GLSL
21 lines
354 B
GLSL
Texture2D g_tColor;
|
|
|
|
SamplerState g_sAniso;
|
|
|
|
struct PS_INPUT
|
|
{
|
|
float2 vTextureCoords : TEXCOORD2 ;
|
|
} ;
|
|
|
|
struct PS_OUTPUT
|
|
{
|
|
float4 vColor : SV_Target0 ;
|
|
} ;
|
|
|
|
PS_OUTPUT MainPs ( PS_INPUT i )
|
|
{
|
|
PS_OUTPUT ps_output ;
|
|
|
|
ps_output . vColor = g_tColor . Sample ( g_sAniso , i . vTextureCoords . xy ) ;
|
|
return ps_output ;
|
|
} |