[Mesa-dev] [Mesa-stable] [PATCH] i965: Remember to call intel_prepare_render() before blitting.

Chad Versace chad.versace at linux.intel.com
Thu Aug 8 11:30:54 PDT 2013


On 08/06/2013 02:36 PM, Kenneth Graunke wrote:
> Otherwise, blits to the window system buffer may cause crashes,
> since dst_irb->mt may be NULL.
>
> This code is lifted straight out of brw_blorp_framebuffer()'s
> try_blorp_blit() helper.
>
> Fixes crashes in Piglit's fbo-sys-blit on systems without BLORP.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65919
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> Cc: "9.2" <mesa-stable at lists.freedesktop.org>
> ---
>   src/mesa/drivers/dri/i965/intel_fbo.c | 5 +++++
>   1 file changed, 5 insertions(+)

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>



More information about the mesa-dev mailing list