r600g: fix slice tile max for compressed texture and async dma
authorJerome Glisse <jglisse@redhat.com>
Wed, 6 Feb 2013 18:54:02 +0000 (13:54 -0500)
committerJerome Glisse <jglisse@redhat.com>
Thu, 7 Feb 2013 15:42:22 +0000 (10:42 -0500)
commit681707abf2121e9d02c6fd13e312fd103f26949c
treef840c6b803914c76c05c9f7a5ee24c5373643503
parent9ba1e23647c09290c98cc7133fb73dd1df1da8ab
r600g: fix slice tile max for compressed texture and async dma

Was using the pixel size instead of the number of block for the slice
tile max computation which resulted in dma writing at wrong address.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_state.c