From: Dave Airlie Date: Wed, 1 Sep 2010 23:45:37 +0000 (+1000) Subject: mesa/st: remove check for buffer/elements = 0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=557a71c50631a232528f654fa8b8e4add0e565d2;p=mesa.git mesa/st: remove check for buffer/elements = 0 shown by the glsl-vs-point-size failing on r600g. the test passes on softpipe and I get a full piglit test run completing on r600g. --- diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index 5b054892702..318e08886c7 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -691,9 +691,6 @@ st_draw_vbo(GLcontext *ctx, pipe->set_vertex_buffers(pipe, num_vbuffers, vbuffer); cso_set_vertex_elements(st->cso_context, num_velements, velements); - if (num_vbuffers == 0 || num_velements == 0) - return; - setup_index_buffer(ctx, ib, &ibuffer); pipe->set_index_buffer(pipe, &ibuffer);