Commit 9b5040f5 by andrewlewis Committed by Tofunmi Adigun-Hameed

Clarify color transfers for internal textures

PiperOrigin-RevId: 534869452
(cherry picked from commit a785d7d01643cc6c07a741a33e588c8c43feb31c)
parent 97f3e132
...@@ -29,8 +29,10 @@ uniform sampler2D uTexSampler; ...@@ -29,8 +29,10 @@ uniform sampler2D uTexSampler;
uniform mat4 uRgbMatrix; uniform mat4 uRgbMatrix;
varying vec2 vTexSamplingCoord; varying vec2 vTexSamplingCoord;
// C.java#ColorTransfer value. // C.java#ColorTransfer value.
// Only COLOR_TRANSFER_LINEAR and COLOR_TRANSFER_SDR_VIDEO are allowed. // Only COLOR_TRANSFER_SRGB and COLOR_TRANSFER_SDR_VIDEO are allowed.
uniform int uInputColorTransfer; uniform int uInputColorTransfer;
// C.java#ColorTransfer value.
// Only COLOR_TRANSFER_LINEAR and COLOR_TRANSFER_SDR_VIDEO are allowed.
uniform int uOutputColorTransfer; uniform int uOutputColorTransfer;
uniform int uEnableColorTransfer; uniform int uEnableColorTransfer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment