diff options
author | Marek Olšák <[email protected]> | 2010-06-24 04:43:40 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-06-24 06:10:47 +0200 |
commit | 93bce03b275f66b6b2db410bbef38954de6a617c (patch) | |
tree | 417da865484de259a1aa6ee21d8b32ae6aaf979c /src/gallium/drivers/r300/r300_state.c | |
parent | a2f14153cc2bcf0b2364e035dc788d65ea0fcd35 (diff) |
r300g: separate the cache flush from the framebuffer state
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 247a590da51..f2534e473da 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -686,6 +686,7 @@ static void draw_flush(r300->draw); } + r300->gpu_flush.dirty = TRUE; r300->fb_state.dirty = TRUE; /* If nr_cbufs is changed from zero to non-zero or vice versa... */ @@ -703,7 +704,7 @@ static void memcpy(r300->fb_state.state, state, sizeof(struct pipe_framebuffer_state)); r300->fb_state.size = - 16 + + 7 + (8 * state->nr_cbufs) + (state->zsbuf ? (r300->screen->caps.has_hiz ? 22 : 18) : 0); |