projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd53f8
)
r300: emit number of used colorbuffers to pass radeon cs checker
author
Maciej Cencora
<m.cencora@gmail.com>
Sun, 22 Nov 2009 14:12:24 +0000
(15:12 +0100)
committer
Maciej Cencora
<m.cencora@gmail.com>
Fri, 11 Dec 2009 23:52:52 +0000
(
00:52
+0100)
src/mesa/drivers/dri/r300/r300_blit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_blit.c
b/src/mesa/drivers/dri/r300/r300_blit.c
index 6eb1108f0d864d104e7ee978370d89f604017be5..4c3d3c80696f3483e92fdb2c8f0a7450e8397213 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_blit.c
+++ b/
src/mesa/drivers/dri/r300/r300_blit.c
@@
-450,10
+450,11
@@
static void emit_cb_setup(struct r300_context *r300,
_mesa_get_format_bytes(mesa_format),
_mesa_format_row_stride(mesa_format, width));
- BEGIN_BATCH_NO_AUTOSTATE(
3
);
+ BEGIN_BATCH_NO_AUTOSTATE(
5
);
OUT_BATCH_REGSEQ(R300_SC_SCISSORS_TL, 2);
OUT_BATCH((x1 << R300_SCISSORS_X_SHIFT)|(y1 << R300_SCISSORS_Y_SHIFT));
OUT_BATCH((x2 << R300_SCISSORS_X_SHIFT)|(y2 << R300_SCISSORS_Y_SHIFT));
+ OUT_BATCH_REGVAL(R300_RB3D_CCTL, 0);
END_BATCH();
}