summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2015-10-23 01:06:15 +0200
committerNicolai Hähnle <[email protected]>2015-10-29 23:56:57 +0100
commit24c90888aeaf90b13700389b91b74bf63ee9f28d (patch)
tree77aabf287cc672b9eb5371d6ccc7a96b25263cbe /src/gallium/drivers
parent65f6caf43e8bbea7c8a0d4e146ad7186c276ff9a (diff)
st/mesa: fix mipmap generation for immutable textures with incomplete pyramids
Without the clamping by NumLevels, the state tracker would reallocate the texture storage (incorrect) and even fail to copy the base level image after reallocation, leading to the graphical glitch of https://bugs.freedesktop.org/show_bug.cgi?id=91993 . A piglit test has been submitted for review as well (subtest of arb_texture_storage-texture-storage). v2: also bypass all calls to st_finalize_texture (suggested by Marek Olšák) Cc: [email protected] Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions