aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorMichael Lentine <mlentine@google.com>2016-03-25 17:53:53 -0500
committerTobin Ehlis <tobine@google.com>2016-03-28 11:44:44 -0600
commite5248b43f77a48a35c5696b1e80b009b080d9025 (patch)
treec1486c1a6d05d869cb720d96c31386b5fb45f563 /layers/core_validation.cpp
parentf7f3d17ae08b7f972f99476dbcf52fa15e6f6adf (diff)
downloadusermoji-e5248b43f77a48a35c5696b1e80b009b080d9025.tar.xz
layers: Clarify message when query has not been performed.
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}