mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-20 06:08:30 +02:00
radv: Use correct semaphore handle type for Android import.
Coincidentally got a bugreport of a game that is broken without the import fix below, but it turns out I made a copy-paste error as well .. In good news it is clearly tested now. Fixes:ad15149958"radv: Set handle types in Android semaphore/fence import." Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5783> (cherry picked from commitffb8020f6e)
This commit is contained in:
parent
1f1ceb2e22
commit
aeecf2010d
2 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@
|
|||
"description": "radv: Use correct semaphore handle type for Android import.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "ad151499583f1814280218bf2eae4eaf1e7090a4"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -396,7 +396,7 @@ radv_AcquireImageANDROID(
|
|||
.flags = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT,
|
||||
.fd = semaphore_fd,
|
||||
.semaphore = semaphore,
|
||||
.handleType = VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT,
|
||||
.handleType = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue