WIP: D3D11VA support

Overlays work, but drawing the actual video is unimplemented
This commit is contained in:
Cameron Gutman
2020-01-11 14:22:15 -06:00
parent 76bd4a1c7b
commit 67612f607e
11 changed files with 1140 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
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;
}