moonlight-qt/app/shaders/d3d11_overlay_pixel.hlsl

13 lines
278 B
HLSL
Raw Normal View History

2022-02-09 03:43:25 +00:00
Texture2D<min16float4> theTexture : register(t0);
SamplerState theSampler : register(s0);
struct ShaderInput
{
float4 pos : SV_POSITION;
float2 tex : TEXCOORD0;
};
2022-02-09 03:43:25 +00:00
min16float4 main(ShaderInput input) : SV_TARGET
{
return theTexture.Sample(theSampler, input.tex);
}