summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-05-10 10:22:17 -0400
committerIlia Mirkin <[email protected]>2014-05-11 19:26:31 -0400
commit752ce0affb1bc45a3caa67b7a2788eec30a9f85f (patch)
treee2de57b03223a2fc34dc4c553082281551278202
parent863573b9cbeb26722fe7bdfbcc4ca6bffdc7dbf6 (diff)
gallium: add bit to pipe_blit_info to leave current query enabled
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 <[email protected]> Cc: "10.2" <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r--src/gallium/include/pipe/p_state.h3
1 files changed, 3 insertions, 0 deletions
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 */
};