summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/radeonsi/si_descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c
index cc897c9817e..b968a5057ac 100644
--- a/src/gallium/drivers/radeonsi/si_descriptors.c
+++ b/src/gallium/drivers/radeonsi/si_descriptors.c
@@ -2195,7 +2195,7 @@ static void si_init_bindless_descriptors(struct si_context *sctx,
/* Reserve slot 0 because it's an invalid handle for bindless. */
desc_slot = util_idalloc_alloc(&sctx->bindless_used_slots);
- assert(desc_slot != 0);
+ assert(desc_slot == 0);
}
static void si_release_bindless_descriptors(struct si_context *sctx)