summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/draw/draw_prim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_prim.c b/src/gallium/auxiliary/draw/draw_prim.c
index ff71ba9b73..888fa536ea 100644
--- a/src/gallium/auxiliary/draw/draw_prim.c
+++ b/src/gallium/auxiliary/draw/draw_prim.c
@@ -121,8 +121,6 @@ static void draw_prim_queue_flush( struct draw_context *draw )
static INLINE void fetch_and_store(struct draw_context *draw)
{
- unsigned i;
-
/* run vertex shader on vertex cache entries, four per invokation */
#if 0
{
@@ -131,6 +129,8 @@ static INLINE void fetch_and_store(struct draw_context *draw)
count * vinfo->size);
}
#elif 0
+ unsigned i;
+
draw_update_vertex_fetch(draw);
for (i = 0; i < draw->vs.queue_nr; i += 4) {
struct vertex_header *dests[4];