svga: remove redundant surface propagation
authorCharmaine Lee <charmainel@vmware.com>
Mon, 3 Apr 2017 19:57:18 +0000 (12:57 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 7 Apr 2017 19:46:44 +0000 (13:46 -0600)
commitb1c964447aeb12db49fe2e2d568dd51565d70ab4
tree59462590a1c18811a4ca5607ab247c3f5ec3f664
parent35a748e79c2fef090ea02404247f1061b8db34cc
svga: remove redundant surface propagation

Currently, surface propagation for colliding render target resource is
done at framebuffer emit time for vgpu10. This patch
adds the surface propagation for non-vgpu10 path to emit_fb_vgpu9()
and removes the redundant surface copy at set time.

Tested with MTT glretrace, piglit, NobelClinicianViewer, Turbine, Cinebench.

Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_pipe_misc.c
src/gallium/drivers/svga/svga_state_framebuffer.c