Re: [Mesa-dev] [PATCH] mesa/st/xformfb: drop assert(0) that can get hit from API

2015-07-30 Thread Marek Olšák
If glDrawTransformFeedback is called with no recorded vertices, the whole draw call should be dropped, because vertex count == 0, right? Marek On Thu, Jul 30, 2015 at 2:52 AM, Dave Airlie wrote: > From: Dave Airlie > > The API can hit this, as the ogl confirm suite showed, I've > sent a piglit

[Mesa-dev] [PATCH] mesa/st/xformfb: drop assert(0) that can get hit from API

2015-07-29 Thread Dave Airlie
From: Dave Airlie The API can hit this, as the ogl confirm suite showed, I've sent a piglit test to also demonstrate hitting it. Signed-off-by: Dave Airlie --- src/mesa/state_tracker/st_cb_xformfb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/state_tracker/st_cb_xformfb.c b/sr