projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa14851
)
anv: fix Android WSI VkFence
author
Yiwei Zhang
<zzyiwei@chromium.org>
Sat, 12 Jun 2021 23:35:19 +0000
(23:35 +0000)
committer
Yiwei Zhang
<zzyiwei@chromium.org>
Sun, 13 Jun 2021 06:12:31 +0000
(06:12 +0000)
Fix an obvious one-liner bug.
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11344>
src/intel/vulkan/anv_android.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_android.c
b/src/intel/vulkan/anv_android.c
index
253a7f7
..
8e02aae
100644
(file)
--- a/
src/intel/vulkan/anv_android.c
+++ b/
src/intel/vulkan/anv_android.c
@@
-820,7
+820,7
@@
anv_AcquireImageANDROID(
}
} else if (semaphore_h != VK_NULL_HANDLE) {
semaphore_fd = nativeFenceFd;
- } else if (fence_h
=
= VK_NULL_HANDLE) {
+ } else if (fence_h
!
= VK_NULL_HANDLE) {
fence_fd = nativeFenceFd;
} else {
/* Nothing to import into so we have to close the file */