From: Charmaine Lee Date: Tue, 27 Feb 2018 12:09:58 +0000 (-0800) Subject: svga: add SVGA_NEW_PRESCALE to the tracked dirty mask for gs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af8877af3b441947e94599a2af3e0fc50b912611;p=mesa.git svga: add SVGA_NEW_PRESCALE to the tracked dirty mask for gs Since geometry shader also consumes prescale constants, the geometry shader constant buffer will need to be updated when prescale factor is changed. Reviewed-by: Brian Paul --- diff --git a/src/gallium/drivers/svga/svga_state_constants.c b/src/gallium/drivers/svga/svga_state_constants.c index 2a61e8e3d02..2c749c93383 100644 --- a/src/gallium/drivers/svga/svga_state_constants.c +++ b/src/gallium/drivers/svga/svga_state_constants.c @@ -810,7 +810,8 @@ emit_gs_consts(struct svga_context *svga, unsigned dirty) struct svga_tracked_state svga_hw_gs_constants = { "hw gs params", - (SVGA_NEW_GS_CONST_BUFFER | + (SVGA_NEW_PRESCALE | + SVGA_NEW_GS_CONST_BUFFER | SVGA_NEW_RAST | SVGA_NEW_GS_VARIANT), emit_gs_consts