mesa/st: fix softpipe npot compressed mipmaps.
authorDave Airlie <airlied@redhat.com>
Wed, 2 Mar 2011 06:13:59 +0000 (16:13 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Mar 2011 06:13:59 +0000 (16:13 +1000)
commite8d061fd7476ee0266a2f9860771f924e9ffccd5
treec0fd4f5b5952eee64369fd0d41c500552e5a0c65
parente80bfc85150ef766c4145bdbd2aa38590589911a
mesa/st: fix softpipe npot compressed mipmaps.

this fixes fbo-generatemipmap-formats rgtc and s3tc in NPOT mode
with softpipe.

r600g fails to even get level 0 correct so have to look into that
a bit further.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_gen_mipmap.c