svga: Set the surface dirty bit for the right surface view
authorCharmaine Lee <charmainel@vmware.com>
Thu, 13 Apr 2017 22:12:25 +0000 (15:12 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 26 Apr 2017 17:37:59 +0000 (11:37 -0600)
commitc6576461f5920971d7df74dcd821ac0e257fc352
treedeafc89ac66d78babaea6bff741cf4460e261103
parentdc30ac5c24d662718b6aa4fbc9917aa34ba55160
svga: Set the surface dirty bit for the right surface view

For VGPU10, we will render to a backed surface view when
the same resource is used for rendering and sampling.
In this case, we will mark the dirty bit for the backed surface view.

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