svga: mark the texture dirty for write transfer map only
authorCharmaine Lee <charmainel@vmware.com>
Thu, 21 Apr 2016 15:28:26 +0000 (08:28 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 25 Apr 2016 18:59:29 +0000 (12:59 -0600)
commit686cd3c606536cff3fe6d80f8ebeeca7afa1b37e
tree873f25caad745942f19565ed0829f857a461afb4
parent676931640fe6c97f6a5702196c39f8de36b22a64
svga: mark the texture dirty for write transfer map only

Instead of unconditionally mark the texture subresource dirty at transfer map,
we'll set the dirty bit for write transfer only.

Tested with lightsmark2008 and glretrace.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_resource_texture.c