This flag is set when the state tracker request queries
be disabled for meta operations.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
unsigned active_occlusion_queries;
+ bool queries_disabled;
+
unsigned dirty; /**< Mask of LP_NEW_x flags */
unsigned cs_dirty; /**< Mask of LP_CSNEW_x flags */
/** Mapped vertex buffers */
static void
llvmpipe_set_active_query_state(struct pipe_context *pipe, bool enable)
{
+ struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe);
+
+ llvmpipe->queries_disabled = !enable;
}
void llvmpipe_init_query_funcs(struct llvmpipe_context *llvmpipe )