summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers')
-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",