radeonsi: fix a compile failure due to disabled asserts

This commit is contained in:
Marek Olšák 2017-08-07 22:51:45 +02:00
parent 0fe0320dc0
commit a2703fc119
1 changed files with 1 additions and 1 deletions

View File

@ -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);