summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAxel Davy <axel.davy@ens.fr>2015-03-23 23:31:18 +0100
committerAxel Davy <axel.davy@ens.fr>2015-04-29 08:28:11 +0200
commit54f8e8a18da58c85a2f515d5fd0552fa4f5547bb (patch)
treec015e7f5d992dbd3f712fcc71703cbe5c77ae9d5 /src
parent87868d38328a3875881fe1ca6861eb7816a5b0cf (diff)
st/nine: Fix update_vertex_elements bad rebase
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>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/nine/nine_state.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/nine/nine_state.c b/src/gallium/state_trackers/nine/nine_state.c
index 6e019558c15..034e666d84c 100644
--- 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",