aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-06-26 13:33:29 -0700
committerJason Ekstrand <[email protected]>2018-06-27 12:43:18 -0700
commitfda7014c35e5f5dfa26f078ad0512d13ead8b717 (patch)
tree93f7128582fbc657b9c27439e002f33fc19cbe1b /src/intel
parent6a35ba5ce980ae248cd132457a98b9a8b5ce7134 (diff)
anv: Print the actual enum for ignored structure types
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 510471da602..8b2e4bbdf08 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -57,6 +57,7 @@
#include "util/vma.h"
#include "vk_alloc.h"
#include "vk_debug_report.h"
+#include "vk_enum_to_str.h"
/* Pre-declarations needed for WSI entrypoints */
struct wl_surface;
@@ -412,7 +413,8 @@ VkResult __vk_errorf(struct anv_instance *instance, const void *object,
* defined by extensions supported by that component.
*/
#define anv_debug_ignored_stype(sType) \
- intel_logd("%s: ignored VkStructureType %u\n", __func__, (sType))
+ intel_logd("%s: ignored VkStructureType %s\n", __func__, \
+ vk_StructureType_to_str(sType))
void __anv_perf_warn(struct anv_instance *instance, const void *object,
VkDebugReportObjectTypeEXT type, const char *file,