mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2025-03-05 07:07:18 +00:00
13 lines
No EOL
260 B
HLSL
13 lines
No EOL
260 B
HLSL
Texture2D theTexture : register(t0);
|
|
SamplerState theSampler : register(s0);
|
|
|
|
struct ShaderInput
|
|
{
|
|
float4 pos : SV_POSITION;
|
|
float2 tex : TEXCOORD0;
|
|
};
|
|
|
|
float4 main(ShaderInput input) : SV_TARGET
|
|
{
|
|
return theTexture.Sample(theSampler, input.tex);
|
|
} |