From e0a3fa8bb283bd325f8523322a4f4e27a5a13c5c Mon Sep 17 00:00:00 2001 From: Brian Ho Date: Sun, 26 Jan 2020 19:50:42 -0800 Subject: anv: Handle unavailable queries in vkCmdCopyQueryPoolResults If VK_QUERY_RESULT_WAIT_BIT is not set, there is currently no special handling of unavailable queries in vkCmdCopyQueryPoolResults, and anv will write an invalid value for the query result. This commit updates vkCmdCopyQueryPoolResults for unavailable queries to return 0 if the VK_QUERY_RESULT_PARTIAL_BIT flag is set and if not, skip writing altogether. Cc: Reviewed-by: Lionel Landwerlin Tested-by: Marge Bot Part-of: (cherry picked from commit 815a603889b812edc94bed61a260c76c264a8b9d) --- .pick_status.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.pick_status.json') diff --git a/.pick_status.json b/.pick_status.json index cf211be7868..1c296ad4e67 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -49,7 +49,7 @@ "description": "anv: Handle unavailable queries in vkCmdCopyQueryPoolResults", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": null }, -- cgit v1.2.1