Skip to content
Snippets Groups Projects
Commit aeecf201 authored by Bas Nieuwenhuizen's avatar Bas Nieuwenhuizen Committed by Eric Engestrom
Browse files

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: ad151499 "radv: Set handle types in Android semaphore/fence import."
Reviewed-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <mesa/mesa!5783>
(cherry picked from commit ffb8020f)
parent 1f1ceb2e
No related branches found
No related tags found
No related merge requests found
......@@ -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,
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment