radeonsi: fix build because of lack of draw_indirect infrastructure in 10.2

This commit is contained in:
Marek Olšák 2014-07-31 20:04:42 +02:00 committed by Carl Worth
parent 490d8ddf87
commit f75dfcee10

View file

@ -433,8 +433,7 @@ static bool si_update_draw_info_state(struct si_context *sctx,
* We don't know that for indirect drawing, so treat it as
* always problematic. */
if (sctx->b.family == CHIP_HAWAII &&
(info->indirect ||
(info->instance_count > 1 &&
((info->instance_count > 1 &&
u_prims_for_vertices(info->mode, info->count) < primgroup_size))) {
wd_switch_on_eop = true;
ia_switch_on_eop = true;