From 752ce0affb1bc45a3caa67b7a2788eec30a9f85f Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sat, 10 May 2014 10:22:17 -0400 Subject: [PATCH] gallium: add bit to pipe_blit_info to leave current query enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Previously the implication was that queries should be disabled during blits. However glBlitFramebuffer() is supposed to obey the current query, and this new bit will indicate that to the driver. Signed-off-by: Ilia Mirkin Cc: "10.2" Reviewed-by: Marek Olšák --- src/gallium/include/pipe/p_state.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index a41c53d2445..07ce88ea62d 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -591,6 +591,9 @@ struct pipe_blit_info boolean scissor_enable; struct pipe_scissor_state scissor; + + boolean render_condition_enable; /**< whether to leave current render + condition enabled */ }; -- 2.30.2