summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_state.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-01-10 11:08:14 -0800
committerCorbin Simpson <[email protected]>2010-01-10 11:17:34 -0800
commit07ea7e6c80ef2bcb69ab12af69d27f7e118bc15a (patch)
treec152f2b9700733913631ab8a9b242af2ef4de77d /src/gallium/drivers/r300/r300_state.c
parent249374b85346663417fc09e4c1ad3c6fb908067b (diff)
r300g: Atomize DSA.
Also a bit of ztop.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r--src/gallium/drivers/r300/r300_state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 732292fdaf8..288b2149b50 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -463,8 +463,8 @@ static void r300_bind_dsa_state(struct pipe_context* pipe,
{
struct r300_context* r300 = r300_context(pipe);
- r300->dsa_state = (struct r300_dsa_state*)state;
- r300->dirty_state |= R300_NEW_DSA;
+ r300->dsa_state.state = state;
+ r300->dsa_state.dirty = TRUE;
}
/* Free DSA state. */
@@ -523,9 +523,9 @@ static void
r300->dirty_state |= R300_NEW_SCISSOR;
}
r300->dirty_state |= R300_NEW_FRAMEBUFFERS;
- r300->dirty_state |= R300_NEW_DSA;
r300->blend_state.dirty = TRUE;
+ r300->dsa_state.dirty = TRUE;
}
/* Create fragment shader state. */