radeon/r200: fix fbo-clearmipmap + gen-teximage
authorDave Airlie <airlied@redhat.com>
Wed, 19 Jan 2011 00:39:32 +0000 (10:39 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 19 Jan 2011 02:55:04 +0000 (12:55 +1000)
commitf7bab47e6c7cf877acf6d9bb85453851e5aa7f19
tree913664f9f9d573c2922470886e69dbb615be4e10
parent568e0083651dd29e5bce94ade8625a64a0e85e88
radeon/r200: fix fbo-clearmipmap + gen-teximage

sw clears were being used and not getting the correct offsets in the span
code.

also not emitting correct offsets for CB draws to texture levels.

(I've no idea why I'm playing with r100).

This is a candidate for 7.9 and 7.10
src/mesa/drivers/dri/r200/r200_state_init.c
src/mesa/drivers/dri/radeon/radeon_span.c
src/mesa/drivers/dri/radeon/radeon_state_init.c