summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state.c
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2010-01-26 22:08:11 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2010-01-26 22:08:11 -0800
commitfc20efe8e511bb9ec15c3d70e28b348ddaa4ad37 (patch)
tree247edb6747733071676f4dc81ba278ae124740c4 /src/gallium/drivers/r300/r300_state.c
parent60aa7f1f8042a9291339a3b337a2f1adacf12841 (diff)
r300g: Turn the RS block into an atom.
At least one extraneous dirty was eliminated, as well as the chance for avoiding dirty on shader change.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r--src/gallium/drivers/r300/r300_state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 7068a5a4ec..f3acd16579 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -720,7 +720,6 @@ static void r300_bind_rs_state(struct pipe_context* pipe, void* state)
r300->viewport_state.dirty = TRUE;
/* XXX Clean these up when we move to atom emits */
- r300->dirty_state |= R300_NEW_RS_BLOCK;
if (r300->fs && r300->fs->inputs.wpos != ATTR_UNUSED) {
r300->dirty_state |= R300_NEW_FRAGMENT_SHADER_CONSTANTS;
}