Only bind the constant buffer once
This commit is contained in:
parent
f256407789
commit
1942e72474
3 changed files with 9 additions and 12 deletions
|
|
@ -17,7 +17,7 @@ struct ShaderInput
|
|||
min16float4 main(ShaderInput input) : SV_TARGET
|
||||
{
|
||||
float y = luminancePlane.Sample(theSampler, input.tex);
|
||||
float2 uv = chrominancePlane.Sample(theSampler, input.tex);
|
||||
float2 uv = chrominancePlane.Sample(theSampler, input.tex);
|
||||
float3 yuv = float3(y, uv);
|
||||
|
||||
// Subtract the YUV offset for limited vs full range
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue