summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/radeonsi/si_compute.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_compute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c
index e58958ab211..224aa6f4319 100644
--- a/src/gallium/drivers/radeonsi/si_compute.c
+++ b/src/gallium/drivers/radeonsi/si_compute.c
@@ -822,7 +822,7 @@ static bool si_check_needs_implicit_sync(struct si_context *sctx)
}
struct si_images *images = &sctx->images[PIPE_SHADER_COMPUTE];
- mask = u_bit_consecutive(0, info->base.num_images);
+ mask = u_bit_consecutive(0, info->base.num_images) & images->enabled_mask;
while (mask) {
int i = u_bit_scan(&mask);