projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc79b88
)
svga: add SVGA_NEW_PRESCALE to the tracked dirty mask for gs
author
Charmaine Lee
<charmainel@vmware.com>
Tue, 27 Feb 2018 12:09:58 +0000
(
04:09
-0800)
committer
Brian Paul
<brianp@vmware.com>
Fri, 2 Mar 2018 19:23:50 +0000
(12:23 -0700)
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 <brianp@vmware.com>
src/gallium/drivers/svga/svga_state_constants.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_state_constants.c
b/src/gallium/drivers/svga/svga_state_constants.c
index 2a61e8e3d02c3d4008829fed9f1846650479b2f6..2c749c93383c6d45f69c294b82a50a1063916725 100644
(file)
--- 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