13 lines
206 B
HLSL
13 lines
206 B
HLSL
#include "common.hlsli"
|
|
|
|
struct ui_vert_out
|
|
{
|
|
float2 tc0 : TEXCOORD0;
|
|
float4 P : POSITION;
|
|
};
|
|
|
|
float4 main(ui_vert_out I) : COLOR
|
|
{
|
|
float4 r = tex2D(s_base, I.tc0);
|
|
return r;
|
|
}
|