projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fc07658
)
svga: add some comments in svga_state_vs.c
author
Brian Paul
<brianp@vmware.com>
Tue, 5 Jan 2016 20:03:04 +0000
(13:03 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 5 Jan 2016 20:03:04 +0000
(13:03 -0700)
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_state_vs.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_state_vs.c
b/src/gallium/drivers/svga/svga_state_vs.c
index 24574c1bf854ab122b1c901741f77cbc635c0dad..a103dab25fe6966def02ba20b86d628f9c67cca8 100644
(file)
--- a/
src/gallium/drivers/svga/svga_state_vs.c
+++ b/
src/gallium/drivers/svga/svga_state_vs.c
@@
-173,8
+173,11
@@
make_vs_key(struct svga_context *svga, struct svga_compile_key *key)
return;
}
return;
}
+ /* SVGA_NEW_PRESCALE */
key->vs.need_prescale = svga->state.hw_clear.prescale.enabled &&
(svga->curr.gs == NULL);
key->vs.need_prescale = svga->state.hw_clear.prescale.enabled &&
(svga->curr.gs == NULL);
+
+ /* SVGA_NEW_RAST */
key->vs.allow_psiz = svga->curr.rast->templ.point_size_per_vertex;
/* SVGA_NEW_FS */
key->vs.allow_psiz = svga->curr.rast->templ.point_size_per_vertex;
/* SVGA_NEW_FS */