Re: [Mesa-dev] [PATCH] st/mesa: Validate state before doing blits.

2011-03-23 Thread Marek Olšák
On Wed, Mar 23, 2011 at 10:02 PM, Henri Verbeet wrote: > Specifically, this ensures things like the front buffer actually exist. > This > fixes piglt fbo/fbo-sys-blit and fd.o bug 35483. One concern is that > st_validate_state() looks expensive, are there any cheaper options? > Maybe we should o

[Mesa-dev] [PATCH] st/mesa: Validate state before doing blits.

2011-03-23 Thread Henri Verbeet
Specifically, this ensures things like the front buffer actually exist. This fixes piglt fbo/fbo-sys-blit and fd.o bug 35483. One concern is that st_validate_state() looks expensive, are there any cheaper options? --- src/mesa/state_tracker/st_cb_blit.c |3 +++ 1 files changed, 3 insertions(+)