mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
radv: do not abort when the SQTT buffer resize failed
This seems to much. While we are at it, update the error msg. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22732>
This commit is contained in:
parent
1202d8b0f9
commit
3a19c36618
1 changed files with 2 additions and 5 deletions
|
|
@ -812,11 +812,8 @@ radv_get_thread_trace(struct radv_queue *queue, struct ac_thread_trace *thread_t
|
|||
struct radeon_info *rad_info = &device->physical_device->rad_info;
|
||||
|
||||
if (!ac_sqtt_get_trace(&device->thread_trace, rad_info, thread_trace)) {
|
||||
if (!radv_thread_trace_resize_bo(device)) {
|
||||
fprintf(stderr, "Failed to resize the thread trace buffer.\n");
|
||||
abort();
|
||||
}
|
||||
|
||||
if (!radv_thread_trace_resize_bo(device))
|
||||
fprintf(stderr, "radv: Failed to resize the SQTT buffer.\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue