mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-16 14:22:28 +00:00
67612f607e
Overlays work, but drawing the actual video is unimplemented
19 lines
No EOL
325 B
HLSL
19 lines
No EOL
325 B
HLSL
struct ShaderInput
|
|
{
|
|
float2 pos : POSITION;
|
|
float2 tex : TEXCOORD0;
|
|
};
|
|
|
|
struct ShaderOutput
|
|
{
|
|
float4 pos : SV_POSITION;
|
|
float2 tex : TEXCOORD0;
|
|
};
|
|
|
|
ShaderOutput main(ShaderInput input)
|
|
{
|
|
ShaderOutput output;
|
|
output.pos = float4(input.pos, 0.0f, 1.0f);
|
|
output.tex = input.tex;
|
|
return output;
|
|
} |