summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2014-07-31 20:04:42 +0200
committerCarl Worth <cworth@cworth.org>2014-07-31 15:22:21 -0700
commitf75dfcee1058d77670d85e047c3ef1e102011a2f (patch)
tree685ace3bdc8d97cc9532d3ce428d9ff5415577ab /src/gallium/drivers
parent490d8ddf879300cdab44d344f0e5f72b3400b4cc (diff)
radeonsi: fix build because of lack of draw_indirect infrastructure in 10.2
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_draw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c
index 33e8e2aa8d2..ec144a5ed00 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;