mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
radv/winsys: fix missing buffer_make_resident() for the null winsys
With latest Fossilize everything should now be captured correctly
but without this, all Fossilize databases that need
VK_EXT_custom_border_color would just crash.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14821>
(cherry picked from commit 1cadd19197)
This commit is contained in:
parent
2027acff50
commit
fe18c96c86
2 changed files with 9 additions and 1 deletions
|
|
@ -2236,7 +2236,7 @@
|
|||
"description": "radv/winsys: fix missing buffer_make_resident() for the null winsys",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -65,6 +65,13 @@ radv_null_winsys_bo_unmap(struct radeon_winsys_bo *_bo)
|
|||
{
|
||||
}
|
||||
|
||||
static VkResult
|
||||
radv_null_winsys_bo_make_resident(struct radeon_winsys *_ws, struct radeon_winsys_bo *_bo,
|
||||
bool resident)
|
||||
{
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
static void
|
||||
radv_null_winsys_bo_destroy(struct radeon_winsys *_ws, struct radeon_winsys_bo *_bo)
|
||||
{
|
||||
|
|
@ -80,4 +87,5 @@ radv_null_bo_init_functions(struct radv_null_winsys *ws)
|
|||
ws->base.buffer_destroy = radv_null_winsys_bo_destroy;
|
||||
ws->base.buffer_map = radv_null_winsys_bo_map;
|
||||
ws->base.buffer_unmap = radv_null_winsys_bo_unmap;
|
||||
ws->base.buffer_make_resident = radv_null_winsys_bo_make_resident;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue