diff options
author | Marek Olšák <maraeo@gmail.com> | 2009-12-24 14:23:57 +0100 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-01-06 12:49:15 -0800 |
commit | 1a4f242be60237fb1f1acf346b1e641167bc6cee (patch) | |
tree | 5d5e37690dd23aa795bd788dbaf767562454c590 /src/gallium/drivers/r300/r300_state.c | |
parent | 26f67a272b6668258fe3552a675414502e077dd9 (diff) |
r300g: if no DS buffer is set, disable reading from and writing to it
It fixes another "Bad CS" issue.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index affd0b4591..a145a7f18a 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -522,6 +522,7 @@ static void } r300->dirty_state |= R300_NEW_FRAMEBUFFERS; r300->dirty_state |= R300_NEW_BLEND; + r300->dirty_state |= R300_NEW_DSA; } /* Create fragment shader state. */ |