summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-01-19 21:03:24 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-01 23:30:23 -0800
commit2e09845277ce75fa7d29020c5b119ad749522592 (patch)
treebac1637cf0f50d8dd5a7e3fa4f1d2ba60a12a7d3 /src/gallium/drivers/r300/r300_context.h
parent7961974fc28257b293961d35f15c0ce7a85f2669 (diff)
r300: Various flags, small state tracking things.
Getting these out of the way so more stuff can be put in.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index ad1e4fc7c4..be6214b7ae 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -55,6 +55,7 @@ struct r300_dsa_state {
};
struct r300_rs_state {
+ uint32_t vap_control_status; /* R300_VAP_CNTL_STATUS: 0x2140 */
uint32_t depth_scale_front; /* R300_SU_POLY_OFFSET_FRONT_SCALE: 0x42a4 */
uint32_t depth_offset_front; /* R300_SU_POLY_OFFSET_FRONT_OFFSET: 0x42a8 */
uint32_t depth_scale_back; /* R300_SU_POLY_OFFSET_BACK_SCALE: 0x42ac */
@@ -98,6 +99,8 @@ struct r300_context {
/* Bitmask of dirty state objects. */
uint32_t dirty_state;
+ /* Flag indicating whether or not the HW is dirty. */
+ uint32_t dirty_hw;
};
/* Convenience cast wrapper. */