summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-05-29 06:12:22 +0200
committerMarek Olšák <maraeo@gmail.com>2011-05-29 16:17:11 +0200
commit76056510bcd35b6b5607b572c0c0ff47b5c5e7e2 (patch)
treeddbcdd942f333de81752bbb0d9d77b281318251e /src/gallium/drivers/r300/r300_context.h
parentaae56150f5d59d45e13a4033b20f0ccf20a3319c (diff)
downloadexternal_mesa3d-76056510bcd35b6b5607b572c0c0ff47b5c5e7e2.zip
external_mesa3d-76056510bcd35b6b5607b572c0c0ff47b5c5e7e2.tar.gz
external_mesa3d-76056510bcd35b6b5607b572c0c0ff47b5c5e7e2.tar.bz2
r300g: clear can be killed by render condition
Fixes piglit: - NV_conditional_render/clear
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 139dd21..d71db00 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -584,6 +584,8 @@ struct r300_context {
uint32_t zbuffer_bpp;
/* Whether rendering is conditional and should be skipped. */
boolean skip_rendering;
+ /* The flag above saved by blitter. */
+ unsigned char blitter_saved_skip_rendering;
/* Point sprites texcoord index, 1 bit per texcoord */
int sprite_coord_enable;
/* Whether two-sided color selection is enabled (AKA light_twoside). */