Revert "r600g: precompute some of the hw state"
authorDave Airlie <airlied@redhat.com>
Wed, 1 Sep 2010 04:56:04 +0000 (14:56 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 1 Sep 2010 04:56:04 +0000 (14:56 +1000)
commit1fa7245c348cb7aced81f1672140f64cb6450e2f
treeb053fbdcd99b786eebcfe40f0f3e22d62c403c56
parentd7e2509692d3aa8afb8d2236a4f28b6ab502ec62
Revert "r600g: precompute some of the hw state"

This reverts commit de0b76cab22caa9fc7260f80acb8f151ccced6c5, its pre-computes the texture state wrong,

you can't just use an array of levels, since you can have FBOs to depth texture slices inside a level as well
it would get really messy quickly. Probably need to split commits like this up into pieces for each piece
of state, so we can revert bits easier in case of regressions.

This also break 5 piglit tests, and valgrind starts to warn about invalid read/writes after this.
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_context.h
src/gallium/drivers/r600/r600_resource.h
src/gallium/drivers/r600/r600_screen.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_texture.c
src/gallium/drivers/r600/radeon.h
src/gallium/winsys/r600/drm/r600_state.c
src/gallium/winsys/r600/drm/r600_states.h
src/gallium/winsys/r600/drm/radeon_priv.h
src/gallium/winsys/r600/drm/radeon_state.c