r600g/compute: Handle failures in compute_memory_pool_finalize
Reviewed-by: Bruno Jiménez <brunojimen@gmail.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
This commit is contained in:
@@ -668,7 +668,10 @@ static void evergreen_set_global_binding(
|
||||
buffers[i]->chunk->status |= ITEM_FOR_PROMOTING;
|
||||
}
|
||||
|
||||
compute_memory_finalize_pending(pool, ctx_);
|
||||
if (compute_memory_finalize_pending(pool, ctx_) == -1) {
|
||||
/* XXX: Unset */
|
||||
return;
|
||||
}
|
||||
|
||||
for (int i = 0; i < n; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user