mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
radeonsi: don't abort for descriptor failures, let the winsys handle it
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24732>
This commit is contained in:
parent
784492a363
commit
47a57416cf
1 changed files with 2 additions and 2 deletions
|
|
@ -137,8 +137,8 @@ static void si_upload_descriptors(struct si_context *sctx, struct si_descriptors
|
|||
si_optimal_tcc_alignment(sctx, upload_size), &buffer_offset,
|
||||
(struct pipe_resource **)&desc->buffer, (void **)&ptr);
|
||||
if (!desc->buffer) {
|
||||
fprintf(stderr, "radeonsi: not enough memory to upload descriptors\n");
|
||||
abort();
|
||||
sctx->ws->ctx_set_sw_reset_status(sctx->ctx, PIPE_GUILTY_CONTEXT_RESET,
|
||||
"radeonsi: not enough memory to upload descriptors\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue