summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_surface.h
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-04-04 00:31:49 -0700
committerCorbin Simpson <[email protected]>2009-04-04 00:36:04 -0700
commitbe1dbba0a4d0d75468461aff8c281a512a537ecc (patch)
tree6b0f57b58824d0d2d60025db3a13930beda03e4f /src/gallium/drivers/r300/r300_surface.h
parenta7dc04fa73f9879d94ab4abf8fcd6f38ee2e9531 (diff)
r300-gallium: Clean up compile warnings and strict compile errors.
Diffstat (limited to 'src/gallium/drivers/r300/r300_surface.h')
-rw-r--r--src/gallium/drivers/r300/r300_surface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_surface.h b/src/gallium/drivers/r300/r300_surface.h
index 36090882f13..894def07aa8 100644
--- a/src/gallium/drivers/r300/r300_surface.h
+++ b/src/gallium/drivers/r300/r300_surface.h
@@ -105,11 +105,11 @@ static struct r300_rs_block r300_rs_block_copy_state = {
};
static struct r300_rs_block r500_rs_block_copy_state = {
- .ip[0] = R500_RS_SEL_S(R500_RS_IP_PTR_K0) |
- R500_RS_SEL_T(R500_RS_IP_PTR_K0) |
+ .ip[0] = R500_RS_SEL_S(0) |
+ R500_RS_SEL_T(1) |
R500_RS_SEL_R(R500_RS_IP_PTR_K0) |
R500_RS_SEL_Q(R500_RS_IP_PTR_K1),
- .inst[0] = R500_RS_INST_COL_CN_WRITE,
+ .inst[0] = R500_RS_INST_TEX_CN_WRITE,
.count = R300_IT_COUNT(2) | R300_IC_COUNT(0) | R300_HIRES_EN,
.inst_count = R300_RS_TX_OFFSET(6),
};