summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-01-09 06:05:36 -0800
committerCorbin Simpson <[email protected]>2009-02-01 23:30:20 -0800
commit32273c01bd9291dcc23ca2635b848586458a3c81 (patch)
treeec3810c743822c4e878fda4c2fb19d40a1335e74
parentafe2de0a235f8e4312ecbb7275640502098a8a81 (diff)
gallium-r300: Set right ROP for solid fills.
Thanks to MrCooper for pointing me in the right direction.
-rw-r--r--src/gallium/drivers/r300/r300_blit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c
index 5f5eba90c1f..415e6e0a168 100644
--- a/src/gallium/drivers/r300/r300_blit.c
+++ b/src/gallium/drivers/r300/r300_blit.c
@@ -59,14 +59,12 @@ int r300_fill_blit(struct r300_context* r300,
/* Set up the 2D engine. */
OUT_CS_REG(RADEON_DEFAULT_SC_BOTTOM_RIGHT,
RADEON_DEFAULT_SC_RIGHT_MAX | RADEON_DEFAULT_SC_BOTTOM_MAX);
- /* XXX I have no idea what these flags mean, is this awesome? (y/n) */
OUT_CS_REG(RADEON_DP_GUI_MASTER_CNTL,
RADEON_GMC_DST_PITCH_OFFSET_CNTL |
RADEON_GMC_BRUSH_SOLID_COLOR |
(dest_type << 8) |
RADEON_GMC_SRC_DATATYPE_COLOR |
- /* XXX is this the right rop? */
- RADEON_ROP3_ONE |
+ RADEON_ROP3_P |
RADEON_GMC_CLR_CMP_CNTL_DIS);
/* XXX pack this? */
OUT_CS_REG(RADEON_DP_BRUSH_FRGD_CLR, color);