svga: Rebind framebuffer and tss bindings strictly when necessary.
The earlier change to ensure rendertargets and textures are always rebound at every command buffer start had the downside of making successive flushes no longer no-ops, as a command buffer with merely the rebinding commands were being unnecessarily sent to the vGPU. This change only re-emits the bindings when necessary, by keeping track of the need to rebind outside of the dirty state update mechanism.
- src/gallium/drivers/svga/svga_context.c 4 additions, 19 deletionssrc/gallium/drivers/svga/svga_context.c
- src/gallium/drivers/svga/svga_context.h 5 additions, 1 deletionsrc/gallium/drivers/svga/svga_context.h
- src/gallium/drivers/svga/svga_draw.c 14 additions, 0 deletionssrc/gallium/drivers/svga/svga_draw.c
- src/gallium/drivers/svga/svga_pipe_clear.c 7 additions, 0 deletionssrc/gallium/drivers/svga/svga_pipe_clear.c
- src/gallium/drivers/svga/svga_state_framebuffer.c 7 additions, 3 deletionssrc/gallium/drivers/svga/svga_state_framebuffer.c
- src/gallium/drivers/svga/svga_state_tss.c 8 additions, 3 deletionssrc/gallium/drivers/svga/svga_state_tss.c