From a2703fc119e8e806c6a8f47d665709d9e84aaa6a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 7 Aug 2017 22:51:45 +0200 Subject: [PATCH] radeonsi: fix a compile failure due to disabled asserts --- src/gallium/drivers/radeonsi/si_descriptors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c index 5a7f5d911a0..1e0c422fb4b 100644 --- a/src/gallium/drivers/radeonsi/si_descriptors.c +++ b/src/gallium/drivers/radeonsi/si_descriptors.c @@ -161,7 +161,7 @@ static bool si_ce_upload(struct si_context *sctx, unsigned ce_offset, unsigned s size = align(size, cache_line_size); (void)si_ce_ram_size; /* silence an "unused" warning */ - assert(offset + size <= si_ce_ram_size(sctx)); + assert(ce_offset + size <= si_ce_ram_size(sctx)); u_suballocator_alloc(sctx->ce_suballocator, size, cache_line_size, out_offset, (struct pipe_resource**)out_buf); -- 2.30.2