mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-05-19 16:10:35 +00:00
Consolidate D3D11 constant buffers now that all shaders need a CSC constant buffer
This commit is contained in:
@@ -7,14 +7,10 @@ struct ShaderInput
|
||||
float2 tex : TEXCOORD0;
|
||||
};
|
||||
|
||||
cbuffer ChromaLimitBuf : register(b0)
|
||||
{
|
||||
min16float3 chromaTexMax;
|
||||
};
|
||||
|
||||
cbuffer CSC_CONST_BUF : register(b1)
|
||||
cbuffer CSC_CONST_BUF : register(b0)
|
||||
{
|
||||
min16float3x3 cscMatrix;
|
||||
min16float3 offsets;
|
||||
min16float2 chromaOffset; // Unused for 4:4:4
|
||||
min16float2 chromaTexMax; // Unused for 4:4:4
|
||||
};
|
||||
Reference in New Issue
Block a user