summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-10-29 15:29:10 -0700
committerKenneth Graunke <[email protected]>2018-10-30 12:59:53 -0700
commit337a808062c756b474ee80a9ac04b5a3dbbeb67e (patch)
tree09eba7c7f25286e963adf7096261a717b9f997b3 /scripts
parente4e0fd5ffe1de9078ac8906155e1a80ca2006994 (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