mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 11:18:11 +02:00
When cs allocation fails in radv_create_cmd_buffer, radv_destroy_cmd_buffer is called before returning VK_ERROR_OUT_OF_HOST_MEMORY. At that point, the upload list is not initalized yet, so SIGSEGV will occur when trying to iterate through the upload bo list. Initialize the upload list earlier to avoid this. Signed-off-by: Benjamin Cheng <ben@bcheng.me> Reviewed-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22016> |
||
|---|---|---|
| .. | ||
| addrlib | ||
| ci | ||
| common | ||
| compiler | ||
| drm-shim | ||
| llvm | ||
| registers | ||
| vulkan | ||
| .clang-format | ||
| meson.build | ||