aboutsummaryrefslogtreecommitdiffstats
path: root/src/hgl
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-06-11 19:20:58 -0700
committerKenneth Graunke <[email protected]>2019-06-14 20:13:46 +0000
commit1d75f525891efd6483404da6b4ae70784179db9c (patch)
tree331fbbe00aec788414a3099b88939dc2c7c53fff /src/hgl
parent3ddea5e8c526334afa29641d4bdedce418f3b6d6 (diff)
st/mesa: 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, we had just respected the pipe_resource's format. Fixes SKQP's Skia_Unit_Tests.SRGBMipMaps test. (This ports commit 337a808062c756b474ee80a9ac04b5a3dbbeb67e from i965 to st/mesa for Gallium drivers.) Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/hgl')
0 files changed, 0 insertions, 0 deletions