softpipe: Mark texture dirty when unmapped.
authorChia-I Wu <olvaffe@gmail.com>
Thu, 30 Jul 2009 16:42:41 +0000 (10:42 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 30 Jul 2009 16:42:46 +0000 (10:42 -0600)
commit27fb3ff858f1c5db82fe94fa1ec9f296808c7b27
treea0f6491e4c7b8229892c703d84090560be7bd505
parent9c936403de1aa868de1218deb2b93344b0d8d95d
softpipe: Mark texture dirty when unmapped.

When a texutre transfer is mapped for writing, mark the texture dirty
when unmapped.  This was done in surface creation, and this commit moves
it to happen in texture unmapping.

This fixes subtex test in progs/tests/.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/softpipe/sp_texture.c