Always perform color correction and debanding on nonlinear sRGB values.

Fixes #107730

Co-authored-by: LuoZhihao <luo_zhihao@outlook.com>
This commit is contained in:
Allen Pestaluky 2025-07-07 16:38:17 -04:00
parent 4d1f26e1fd
commit a1591512f8
15 changed files with 82 additions and 20 deletions

View file

@ -73,7 +73,6 @@ protected:
float rotation_sin;
float rotation_cos;
float pad[2];
float eye_center[2];
float k1;
@ -83,6 +82,8 @@ protected:
float aspect_ratio;
uint32_t layer;
uint32_t convert_to_srgb;
uint32_t use_debanding;
float pad;
};
struct Blit {