From af8877af3b441947e94599a2af3e0fc50b912611 Mon Sep 17 00:00:00 2001 From: Charmaine Lee Date: Tue, 27 Feb 2018 04:09:58 -0800 Subject: [PATCH] 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 --- src/gallium/drivers/svga/svga_state_constants.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2