summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-09-10 13:50:31 +1000
committerDave Airlie <[email protected]>2010-09-10 13:52:02 +1000
commitad5ada4372356583599a84f50a43ca688165e18f (patch)
treebed5feaa1130eb05158dfd679a9a2551312985c3 /src/gallium/drivers/r600
parent7d564fdddde459d29e471946bd47838069504480 (diff)
r600g: evergreen CBs are more sane to support with a single state
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/eg_hw_states.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/eg_hw_states.c b/src/gallium/drivers/r600/eg_hw_states.c
index 9e704f0de6f..97b99974225 100644
--- a/src/gallium/drivers/r600/eg_hw_states.c
+++ b/src/gallium/drivers/r600/eg_hw_states.c
@@ -117,7 +117,7 @@ static void eg_cb(struct r600_context *rctx, struct radeon_state *rstate,
unsigned format, swap, ntype;
const struct util_format_description *desc;
- radeon_state_init(rstate, rscreen->rw, R600_STATE_CB0 + cb, 0, 0);
+ radeon_state_init(rstate, rscreen->rw, R600_STATE_CB0, cb, 0);
rtex = (struct r600_resource_texture*)state->cbufs[cb]->texture;
rbuffer = &rtex->resource;
rstate->bo[0] = radeon_bo_incref(rscreen->rw, rbuffer->bo);