diff options
author | Samuel Pitoiset <[email protected]> | 2017-08-23 17:10:56 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-08-23 17:13:44 +0200 |
commit | 7fb4b6f27056679e0271ba90dabf7e8a7bfbd181 (patch) | |
tree | 9abcb3fdeb8ef1db30177479b8c32584bb5682f8 | |
parent | 89f75c948385f6f2a2def685f638b9e227550e3a (diff) |
radeonsi: fix wrong assertion in si_init_bindless_descriptors()
Bad mistake, sorry.
Signed-off-by: Samuel Pitoiset <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_descriptors.c | 2 |
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) |