diff options
author | Dave Airlie <[email protected]> | 2010-09-25 19:23:05 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-09-25 22:14:08 +1000 |
commit | ebca23149a8d73317a5e00ba544f28ca0cde31ec (patch) | |
tree | fdb14823c1cf7bc312a91cafc23aecdb78004b85 /src/gallium/drivers/r600 | |
parent | a69a96d85ee1e17e791258967236c6a2c1945cdf (diff) |
r600g: make index bias fix for evergreen
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/eg_hw_states.c | 2 |
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 998d74bd3eb..272972d4189 100644 --- a/src/gallium/drivers/r600/eg_hw_states.c +++ b/src/gallium/drivers/r600/eg_hw_states.c @@ -916,7 +916,7 @@ static int eg_draw_vgt_prim(struct r600_draw *draw, draw->vgt.states[EG_VGT__VGT_PRIMITIVE_TYPE] = prim; draw->vgt.states[EG_VGT__VGT_MAX_VTX_INDX] = draw->max_index; draw->vgt.states[EG_VGT__VGT_MIN_VTX_INDX] = draw->min_index; - draw->vgt.states[EG_VGT__VGT_INDX_OFFSET] = draw->start; + draw->vgt.states[EG_VGT__VGT_INDX_OFFSET] = draw->index_bias; draw->vgt.states[EG_VGT__VGT_DMA_INDEX_TYPE] = vgt_dma_index_type; draw->vgt.states[EG_VGT__VGT_PRIMITIVEID_EN] = 0x00000000; draw->vgt.states[EG_VGT__VGT_DMA_NUM_INSTANCES] = 0x00000001; |