diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2016-08-12 14:48:54 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2016-08-25 11:07:01 -0700 |
commit | 6cf8708ce55fb38c400c8f005e55170f54241187 (patch) | |
tree | 8379980873f3e5207c0bac7b98b276fb3a357712 /configure.ac | |
parent | ed871af91c2a34efde5073c91d87d1d31d50f5a8 (diff) | |
download | external_mesa3d-6cf8708ce55fb38c400c8f005e55170f54241187.zip external_mesa3d-6cf8708ce55fb38c400c8f005e55170f54241187.tar.gz external_mesa3d-6cf8708ce55fb38c400c8f005e55170f54241187.tar.bz2 |
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 <kenneth@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions