diff options
author | Kenneth Graunke <[email protected]> | 2016-08-12 14:48:54 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-08-25 11:07:01 -0700 |
commit | 6cf8708ce55fb38c400c8f005e55170f54241187 (patch) | |
tree | 8379980873f3e5207c0bac7b98b276fb3a357712 /src/glx/indirect_window_pos.c | |
parent | ed871af91c2a34efde5073c91d87d1d31d50f5a8 (diff) |
meta: Always do GenerateMipmaps in linear colorspace.
When generating mipmaps for sRGB textures, force both decode and encode,
so the filtering is done in linear colorspace, regardless of settings.
Fixes a WebGL conformance test in Chrome:
https://www.khronos.org/registry/webgl/sdk/tests/conformance2/textures/misc/tex-srgb-mipmap.html?webglVersion=2
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97322
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/glx/indirect_window_pos.c')
0 files changed, 0 insertions, 0 deletions