Browse Source

gallium: enable bug workaround in draw_vertex_cache_invalidate

tags/mesa_20090313
Keith Whitwell 17 years ago
parent
commit
6d5ee6d9a4
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      src/gallium/auxiliary/draw/draw_vertex_cache.c

+ 5
- 1
src/gallium/auxiliary/draw/draw_vertex_cache.c View File

@@ -41,7 +41,11 @@ void draw_vertex_cache_invalidate( struct draw_context *draw )
assert(draw->vs.queue_nr == 0);
assert(draw->vcache.referenced == 0);

// memset(draw->vcache.idx, ~0, sizeof(draw->vcache.idx));
/* There's an error somewhere in the vcache code that requires this
* memset. The bug is exposed in q3demo demo001, but probably
* elsewhere as well. Will track it down later.
*/
memset(draw->vcache.idx, ~0, sizeof(draw->vcache.idx));
}



Loading…
Cancel
Save