mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[host] added YUV420 output support
This commit is contained in:
13
host/Shaders/Pixel.hlsl
Normal file
13
host/Shaders/Pixel.hlsl
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user