diff options
author | Keith Whitwell <[email protected]> | 2008-03-10 19:37:32 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-03-10 23:31:50 +0000 |
commit | 6d5ee6d9a4a705cce80117f90ee334986f5e5e26 (patch) | |
tree | 50bd2e3c9c30fd48f1b37461fce647983a4648ed /src | |
parent | d5692cb349fb74e8f9d3a18f5bbd788b09b93581 (diff) |
gallium: enable bug workaround in draw_vertex_cache_invalidate
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vertex_cache.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vertex_cache.c b/src/gallium/auxiliary/draw/draw_vertex_cache.c index 53f8bbec445..161b247d4e9 100644 --- a/src/gallium/auxiliary/draw/draw_vertex_cache.c +++ b/src/gallium/auxiliary/draw/draw_vertex_cache.c @@ -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)); } |