svga: Move rendertarget view related fields to hw_clear state
authorCharmaine Lee <charmainel@vmware.com>
Tue, 25 Apr 2017 20:27:51 +0000 (14:27 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 26 Apr 2017 17:37:59 +0000 (11:37 -0600)
commitdc30ac5c24d662718b6aa4fbc9917aa34ba55160
tree6d8a7b02d0c52b54f114dd333f9473404cc20a91
parentf482493dcff6fc9141ba703c9d64ff61d374072c
svga: Move rendertarget view related fields to hw_clear state

This patch moves the rendertarget view related fields from
svga_hw_draw_state to svga_hw_clear_state where all the hw
framebuffer related state resides.

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