mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-27 22:40:24 +00:00
Consolidate D3D11 constant buffers now that all shaders need a CSC constant buffer
This commit is contained in:
1 parent
245cd7f1a8
commit
4164a222ae
7 files changed
+14
-46
No files matched your search
@@ -1,7 +1,6 @@
|
||||
min16float4 main(ShaderInput input) : SV_TARGET
|
||||
{
|
||||
// Clamp the texcoords to avoid sampling the row of texels adjacent to the alignment padding
|
||||
min16float3 yuv = swizzle(videoTex.Sample(theSampler, min(input.tex, chromaTexMax.rg)));
|
||||
min16float3 yuv = swizzle(videoTex.Sample(theSampler, input.tex));
|
||||
|
||||
// Subtract the YUV offset for limited vs full range
|
||||
yuv -= offsets;
|
||||
|
||||
Reference in new issue
Block a user