[host] added YUV420 output support

This commit is contained in:
Geoffrey McRae
2018-07-28 06:15:55 +10:00
parent 2a03d1c4a9
commit e515cdc8dd
10 changed files with 339 additions and 177 deletions

13
host/Shaders/Pixel.hlsl Normal file
View File

@@ -0,0 +1,13 @@
Texture2D texTexture;
SamplerState texSampler;
struct VS
{
float4 pos : SV_Position;
float2 tex : TEXCOORD;
};
float4 main(VS input): SV_Target
{
return texTexture.Sample(texSampler, input.tex);
}