Skip to content

multi-texture-format: Fix limited range quantization

Robert Mader requested to merge rmader/mutter:yuv-shader-fix into main

And stop pre-computing values, making errors like this harder to spot.

The values 0.0625 (16/256) and 0.5 (128/256) were slightly off, resulting e.g. in "black" not being #000000 but #010001 RGB instead.


Related:

Merge request reports