Module: Mesa Branch: 10.2 Commit: f75dfcee1058d77670d85e047c3ef1e102011a2f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f75dfcee1058d77670d85e047c3ef1e102011a2f
Author: Marek Olšák <[email protected]> Date: Thu Jul 31 20:04:42 2014 +0200 radeonsi: fix build because of lack of draw_indirect infrastructure in 10.2 --- src/gallium/drivers/radeonsi/si_state_draw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index 33e8e2a..ec144a5 100644 --- a/src/gallium/drivers/radeonsi/si_state_draw.c +++ b/src/gallium/drivers/radeonsi/si_state_draw.c @@ -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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
