mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 05:50:49 +00:00
Only bind the constant buffer once
This commit is contained in:
1 parent
f256407789
commit
1942e72474
3 files changed
+9
-12
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user