summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-03-25 18:15:58 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2008-03-25 18:15:58 +0000
commit05a4ecdec2b5fc590eb09cc5a6b4208e0f739c5a (patch)
treeefa4e9b122f10c98dc493eaa8dc957415b842f33 /src/gallium/auxiliary
parentcbec00849186db11d77fd00822145e11e69cb07f (diff)
draw: vertex fetch can be validated too early leading to an assertion... disable
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/draw/draw_vertex_fetch.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vertex_fetch.c b/src/gallium/auxiliary/draw/draw_vertex_fetch.c
index b56d85396d..11f99babf6 100644
--- a/src/gallium/auxiliary/draw/draw_vertex_fetch.c
+++ b/src/gallium/auxiliary/draw/draw_vertex_fetch.c
@@ -314,7 +314,11 @@ static fetch_func get_fetch_func( enum pipe_format format )
return NULL; /* not sure why this is needed */
default:
- assert(0);
+ /* This can get hit because draw-state-validation is too eager,
+ and can jump in here validating stuff before the state tracker has set
+ up everything.
+ */
+ /* assert(0); */
return NULL;
}
}