Re: [Mesa-dev] [PATCH] util: fix blitter/draw module interaction

2014-10-13 Thread Marek Olšák
Actually, util_blitter_cache_all_shaders was supposed to prevent all crashes. Drivers that use the Draw AA stages should call it before the stages are installed, so that no shaders need to be compiled later. I guess some shaders are missing there. Just updating util_blitter_cache_all_shaders would

[Mesa-dev] [PATCH] util: fix blitter/draw module interaction

2014-10-06 Thread Brian Paul
If a driver uses the blitter utility and the draw module's AA point/line/ etc. helpers we have to very careful when using the pipe_context:: create_fs_state(), bind_fs_state() and delete_fs_state() functions. The draw module can override these driver functions. This fixes the situation where the b