Refactor D3D11 shaders to reduce duplicated code

This commit is contained in:
Cameron Gutman
2022-02-16 19:38:18 -06:00
parent b1f980c216
commit 36db791516
9 changed files with 25 additions and 63 deletions
@@ -0,0 +1,9 @@
Texture2D<min16float> luminancePlane : register(t0);
Texture2D<min16float2> chrominancePlane : register(t1);
SamplerState theSampler : register(s0);
struct ShaderInput
{
float4 pos : SV_POSITION;
float2 tex : TEXCOORD0;
};