summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharmaine Lee <[email protected]>2018-02-27 04:09:58 -0800
committerBrian Paul <[email protected]>2018-03-02 12:23:50 -0700
commitaf8877af3b441947e94599a2af3e0fc50b912611 (patch)
tree2efd88465c9f7f6ed0a173184f5d4fc512e73038
parentdc79b8840248ccc1860ae740f16f0f5309191445 (diff)
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 <[email protected]>
-rw-r--r--src/gallium/drivers/svga/svga_state_constants.c3
1 files changed, 2 insertions, 1 deletions
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