[Mesa-dev] [PATCH 3/3] softpipe: honor the render_condition_enable bit in blits.
Jose Fonseca
jfonseca at vmware.com
Thu May 29 10:57:32 PDT 2014
Series is
----- Original Message -----
> From: Roland Scheidegger <sroland at vmware.com>
>
> ---
> src/gallium/drivers/softpipe/sp_surface.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/drivers/softpipe/sp_surface.c
> b/src/gallium/drivers/softpipe/sp_surface.c
> index 102e8e8..768e898 100644
> --- a/src/gallium/drivers/softpipe/sp_surface.c
> +++ b/src/gallium/drivers/softpipe/sp_surface.c
> @@ -36,6 +36,9 @@ static void sp_blit(struct pipe_context *pipe,
> {
> struct softpipe_context *sp = softpipe_context(pipe);
>
> + if (info->render_condition_enable && !softpipe_check_render_cond(sp))
> + return;
> +
> if (info->src.resource->nr_samples > 1 &&
> info->dst.resource->nr_samples <= 1 &&
> !util_format_is_depth_or_stencil(info->src.resource->format) &&
> --
> 1.9.1
>
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
More information about the mesa-dev
mailing list