Created
July 30, 2019 17:52
-
-
Save lostgoat/42afdd11feb962348fa22ff5ca181848 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
andres@andres-vr:~/git/mesa$ git diff | |
diff --git a/src/amd/vulkan/radv_query.c b/src/amd/vulkan/radv_query.c | |
index cdff336f8a3..a8e214f7c50 100644 | |
--- a/src/amd/vulkan/radv_query.c | |
+++ b/src/amd/vulkan/radv_query.c | |
@@ -1133,7 +1133,7 @@ VkResult radv_GetQueryPoolResults( | |
if (flags & VK_QUERY_RESULT_WAIT_BIT) { | |
while (*(volatile uint64_t *)src == TIMESTAMP_NOT_READY) | |
; | |
- available = *(uint64_t *)src != TIMESTAMP_NOT_READY; | |
+ available = *(volatile uint64_t *)src != TIMESTAMP_NOT_READY; | |
} | |
if (!available && !(flags & VK_QUERY_RESULT_PARTIAL_BIT)) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment