From ebca23149a8d73317a5e00ba544f28ca0cde31ec Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 25 Sep 2010 19:23:05 +1000 Subject: r600g: make index bias fix for evergreen --- src/gallium/drivers/r600/eg_hw_states.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/r600') 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; -- cgit v1.2.3