diff options
author | Kenneth Graunke <[email protected]> | 2018-10-29 15:29:10 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2018-10-30 12:59:53 -0700 |
commit | 337a808062c756b474ee80a9ac04b5a3dbbeb67e (patch) | |
tree | 09eba7c7f25286e963adf7096261a717b9f997b3 /scripts | |
parent | e4e0fd5ffe1de9078ac8906155e1a80ca2006994 (diff) |
i965: Respect GL_TEXTURE_SRGB_DECODE_EXT in GenerateMipmaps()
Apparently, we're supposed to look at the texture object's built-in
sampler object's sRGB decode setting in order to decide whether to
decode/downsample/re-encode, or simply downsample as-is. Previously,
I had always done the decoding/encoding.
Fixes SKQP's Skia_Unit_Tests.SRGBMipMaps test.
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions