From: Keith Whitwell Date: Tue, 25 Mar 2008 18:15:58 +0000 (+0000) Subject: draw: vertex fetch can be validated too early leading to an assertion... disable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05a4ecdec2b5fc590eb09cc5a6b4208e0f739c5a;p=mesa.git draw: vertex fetch can be validated too early leading to an assertion... disable --- diff --git a/src/gallium/auxiliary/draw/draw_vertex_fetch.c b/src/gallium/auxiliary/draw/draw_vertex_fetch.c index b56d85396de..11f99babf65 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; } }