summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-03-24 14:09:24 -0600
committerBrian Paul <[email protected]>2016-03-29 18:13:45 -0600
commitd8d029f22bcb49c26ddb11d0bb968d24f2a5fb7e (patch)
tree811e8ff86e292acf272167522cff44fae66d9074 /src/mesa/drivers/x11
parent105fe527840ed5fc55e78c4561915fbe1fded76c (diff)
st/mesa: simplify st_generate_mipmap()
The whole st_generate_mipmap() function was overly complicated. Now we just call the new _mesa_prepare_mipmap_levels() function to prepare the texture mipmap memory, then call the generate function which fills in the texture images. This fixes a failed assertion in llvmpipe/softpipe which is hit with the new piglit generatemipmap-base-change test. Also fixes some device errors (format mismatches) with the VMware svga driver. v2: fix a comment typo, per Sinclair Reviewed-by: Sinclair Yeh <[email protected]> Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11')
0 files changed, 0 insertions, 0 deletions