diff options
author | Dave Airlie <airlied@redhat.com> | 2010-09-10 21:58:43 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-09-10 21:59:06 +1000 |
commit | f61b241ebabf2d8db9b96f7860afe79bec980df7 (patch) | |
tree | d33cc3055e81f1aefd7572ae8ea5ff5e0f9b9b0b /src/gallium/drivers/r600/eg_hw_states.c | |
parent | cc1b3b1013d1fb1f1f25ade20a68d8bdfe14f5f7 (diff) |
r600g: fixup CB state numbering header
Diffstat (limited to 'src/gallium/drivers/r600/eg_hw_states.c')
-rw-r--r-- | src/gallium/drivers/r600/eg_hw_states.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/r600/eg_hw_states.c b/src/gallium/drivers/r600/eg_hw_states.c index 97b9997422..c9cf328baa 100644 --- a/src/gallium/drivers/r600/eg_hw_states.c +++ b/src/gallium/drivers/r600/eg_hw_states.c @@ -140,12 +140,12 @@ static void eg_cb(struct r600_context *rctx, struct radeon_state *rstate, S_028C70_SOURCE_FORMAT(1) | S_028C70_NUMBER_TYPE(ntype); - rstate->states[EG_CB0__CB_COLOR0_BASE] = state->cbufs[cb]->offset >> 8; - rstate->states[EG_CB0__CB_COLOR0_INFO] = color_info; - rstate->states[EG_CB0__CB_COLOR0_PITCH] = S_028C64_PITCH_TILE_MAX(pitch); - rstate->states[EG_CB0__CB_COLOR0_SLICE] = S_028C68_SLICE_TILE_MAX(slice); - rstate->states[EG_CB0__CB_COLOR0_VIEW] = 0x00000000; - rstate->states[EG_CB0__CB_COLOR0_ATTRIB] = S_028C74_NON_DISP_TILING_ORDER(1); + rstate->states[EG_CB__CB_COLOR0_BASE] = state->cbufs[cb]->offset >> 8; + rstate->states[EG_CB__CB_COLOR0_INFO] = color_info; + rstate->states[EG_CB__CB_COLOR0_PITCH] = S_028C64_PITCH_TILE_MAX(pitch); + rstate->states[EG_CB__CB_COLOR0_SLICE] = S_028C68_SLICE_TILE_MAX(slice); + rstate->states[EG_CB__CB_COLOR0_VIEW] = 0x00000000; + rstate->states[EG_CB__CB_COLOR0_ATTRIB] = S_028C74_NON_DISP_TILING_ORDER(1); radeon_state_pm4(rstate); } |