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 commit ffb8020f6e)
This commit is contained in:
Bas Nieuwenhuizen 2020-07-07 01:51:50 +02:00 committed by Eric Engestrom
parent 1f1ceb2e22
commit aeecf2010d
2 changed files with 2 additions and 2 deletions

View file

@ -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"
},

View file

@ -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,
});
}