projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87868d3
)
st/nine: Fix update_vertex_elements bad rebase
author
Axel Davy
<axel.davy@ens.fr>
Mon, 23 Mar 2015 22:31:18 +0000
(23:31 +0100)
committer
Axel Davy
<axel.davy@ens.fr>
Wed, 29 Apr 2015 06:28:11 +0000
(08:28 +0200)
This code was supposed to be removed, but a rebase seems to have
made it stay.
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/nine_state.c
b/src/gallium/state_trackers/nine/nine_state.c
index 6e019558c151e440b4a53f756d3723b79c6d9845..034e666d84c61c91ec73ca272943b416c7a87d50 100644
(file)
--- a/
src/gallium/state_trackers/nine/nine_state.c
+++ b/
src/gallium/state_trackers/nine/nine_state.c
@@
-225,9
+225,6
@@
update_vertex_elements(struct NineDevice9 *device)
memset(used_streams, 0, device->caps.MaxStreams);
vs = device->state.vs ? device->state.vs : device->ff.vs;
- if (!vdecl) /* no inputs */
- return;
-
if (vdecl) {
for (n = 0; n < vs->num_inputs; ++n) {
DBG("looking up input %u (usage %u) from vdecl(%p)\n",