projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
freedreno/a3xx: shadow sampler support
[mesa.git]
/
src
/
gallium
/
drivers
/
svga
/
svga_state_vs.c
diff --git
a/src/gallium/drivers/svga/svga_state_vs.c
b/src/gallium/drivers/svga/svga_state_vs.c
index 2f130aec5b496158bf1ea43dea10538b7abde2a7..64dd7c99c34f898a49dba52f77a4dfb1f2ef454b 100644
(file)
--- a/
src/gallium/drivers/svga/svga_state_vs.c
+++ b/
src/gallium/drivers/svga/svga_state_vs.c
@@
-159,6
+159,10
@@
make_vs_key(struct svga_context *svga, struct svga_vs_compile_key *key)
/* SVGA_NEW_FS */
key->fs_generic_inputs = svga->curr.fs->generic_inputs;
/* SVGA_NEW_FS */
key->fs_generic_inputs = svga->curr.fs->generic_inputs;
+
+ /* SVGA_NEW_VELEMENT */
+ key->adjust_attrib_range = svga->curr.velems->adjust_attrib_range;
+ key->adjust_attrib_w_1 = svga->curr.velems->adjust_attrib_w_1;
}
}
@@
-248,6
+252,7
@@
struct svga_tracked_state svga_hw_vs =
(SVGA_NEW_VS |
SVGA_NEW_FS |
SVGA_NEW_PRESCALE |
(SVGA_NEW_VS |
SVGA_NEW_FS |
SVGA_NEW_PRESCALE |
+ SVGA_NEW_VELEMENT |
SVGA_NEW_NEED_SWTNL),
emit_hw_vs
};
SVGA_NEW_NEED_SWTNL),
emit_hw_vs
};