projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
freedreno/a4xx: clear cached fp when switching blit prog
[mesa.git]
/
src
/
gallium
/
drivers
/
r300
/
r300_blit.c
diff --git
a/src/gallium/drivers/r300/r300_blit.c
b/src/gallium/drivers/r300/r300_blit.c
index baf05cea965226cd46b050ee67fd0570d4dad0b7..6ea8f24cc140b388285044beedd898b1e5dc2e80 100644
(file)
--- a/
src/gallium/drivers/r300/r300_blit.c
+++ b/
src/gallium/drivers/r300/r300_blit.c
@@
-382,7
+382,7
@@
static void r300_clear(struct pipe_context* pipe,
r300_get_num_cs_end_dwords(r300);
/* Reserve CS space. */
- if (dwords > (
RADEON_MAX_CMDBUF_DWORDS
- r300->cs->cdw)) {
+ if (dwords > (
r300->cs->max_dw
- r300->cs->cdw)) {
r300_flush(&r300->context, RADEON_FLUSH_ASYNC, NULL);
}