Re: [Mesa-dev] [PATCH] st/mesa: don't crash when clearing non-existant buffers.

2012-01-05 Thread Brian Paul
On 01/05/2012 08:53 AM, Dave Airlie wrote: From: Dave Airlie this fixes the gl3.0 piglit clearbuffer-depth/stencil/invalid buffer tests for gallium drivers. only question is should mesa be catching this somewhere higher? Yeah, we should. In _mesa_Clear() we tell the driver to only clear buf

[Mesa-dev] [PATCH] st/mesa: don't crash when clearing non-existant buffers.

2012-01-05 Thread Dave Airlie
From: Dave Airlie this fixes the gl3.0 piglit clearbuffer-depth/stencil/invalid buffer tests for gallium drivers. only question is should mesa be catching this somewhere higher? Signed-off-by: Dave Airlie --- src/mesa/state_tracker/st_cb_clear.c | 13 + 1 files changed, 9 insert