summaryrefslogtreecommitdiff
path: root/src/render/Shader.hpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2025-04-29 22:29:40 +0300
committerGitHub <noreply@github.com>2025-04-29 21:29:40 +0200
commit49974d5e34292ede24351c8638fe060b382bbda0 (patch)
tree162b1dab426dd3d152cc76fb5f42f6d10cf09968 /src/render/Shader.hpp
parent94bc1320843e4f45c4b8d3fd3cd08f8914b5fa13 (diff)
cm: Use precomputed primaries conversion (#9814)
Diffstat (limited to 'src/render/Shader.hpp')
-rw-r--r--src/render/Shader.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/Shader.hpp b/src/render/Shader.hpp
index 1d21894c..cd9b6f22 100644
--- a/src/render/Shader.hpp
+++ b/src/render/Shader.hpp
@@ -15,13 +15,15 @@ class CShader {
GLint skipCM = -1;
GLint sourceTF = -1;
GLint targetTF = -1;
- GLint sourcePrimaries = -1;
+ GLint srcTFRange = -1;
+ GLint dstTFRange = -1;
GLint targetPrimaries = -1;
GLint maxLuminance = -1;
GLint dstMaxLuminance = -1;
GLint dstRefLuminance = -1;
GLint sdrSaturation = -1; // sdr -> hdr saturation
GLint sdrBrightness = -1; // sdr -> hdr brightness multiplier
+ GLint convertMatrix = -1;
GLint tex = -1;
GLint alpha = -1;
GLint posAttrib = -1;