summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_context.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-11-07 17:31:49 +0000
committerDave Airlie <[email protected]>2011-11-10 20:32:13 +0000
commitab14915dce41b26faabba878446b0ec0c8734434 (patch)
tree4d592760e7d4c621fc4098e5a1e6dd70eebb5feb /src/gallium/drivers/llvmpipe/lp_context.h
parentdbd24b5df6739b85638020c0e5ab1cc9ff84a4b7 (diff)
llvmpipe: add NV_conditional_render support.
This ports the softpipe NV_conditional_render support to llvmpipe. This passes the nv_conditional_render-* piglit tests. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_context.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_context.h b/src/gallium/drivers/llvmpipe/lp_context.h
index 503f09d810c..70fba213095 100644
--- a/src/gallium/drivers/llvmpipe/lp_context.h
+++ b/src/gallium/drivers/llvmpipe/lp_context.h
@@ -136,6 +136,10 @@ struct llvmpipe_context {
struct lp_setup_variant_list_item setup_variants_list;
unsigned nr_setup_variants;
+
+ /** Conditional query object and mode */
+ struct pipe_query *render_cond_query;
+ uint render_cond_mode;
};