projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r300/compiler: kill off RC_WRAP_CLAMP
[mesa.git]
/
src
/
gallium
/
drivers
/
r300
/
r300_flush.c
diff --git
a/src/gallium/drivers/r300/r300_flush.c
b/src/gallium/drivers/r300/r300_flush.c
index e37d3092703383a647d14fefb2e1b328c438c342..5e61f528b64a68543c66c29b64b176d0ea200ff5 100644
(file)
--- a/
src/gallium/drivers/r300/r300_flush.c
+++ b/
src/gallium/drivers/r300/r300_flush.c
@@
-52,7
+52,6
@@
static void r300_flush(struct pipe_context* pipe,
if (r300->dirty_hw) {
FLUSH_CS;
if (r300->dirty_hw) {
FLUSH_CS;
- r300->dirty_state = R300_NEW_KITCHEN_SINK;
r300->dirty_hw = 0;
/* New kitchen sink, baby. */
r300->dirty_hw = 0;
/* New kitchen sink, baby. */
@@
-61,6
+60,12
@@
static void r300_flush(struct pipe_context* pipe,
atom->dirty = TRUE;
}
}
atom->dirty = TRUE;
}
}
+
+ /* Unmark HWTCL state for SWTCL. */
+ if (!r300->screen->caps.has_tcl) {
+ r300->vs_state.dirty = FALSE;
+ r300->vs_constants.dirty = FALSE;
+ }
}
/* reset flushed query */
}
/* reset flushed query */