From e5248b43f77a48a35c5696b1e80b009b080d9025 Mon Sep 17 00:00:00 2001 From: Michael Lentine Date: Fri, 25 Mar 2016 17:53:53 -0500 Subject: layers: Clarify message when query has not been performed. --- layers/core_validation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layers/core_validation.cpp') diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 5bf2421d..994efb17 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -5807,7 +5807,7 @@ VKAPI_ATTR VkResult VKAPI_CALL vkGetQueryPoolResults(VkDevice device, VkQueryPoo } else if (queryToStateElement == dev_data->queryToStateMap.end()) { skip_call |= log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT, 0, __LINE__, DRAWSTATE_INVALID_QUERY, "DS", - "Cannot get query results on queryPool %" PRIu64 " with index %d which is uninitialized.", + "Cannot get query results on queryPool %" PRIu64 " with index %d as data has not been collected for this index.", (uint64_t)(queryPool), firstQuery + i); } } -- cgit v1.2.3