diff options
author | Jason Ekstrand <[email protected]> | 2018-06-27 14:09:51 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-27 14:10:37 -0700 |
commit | e8eb182ec5980b96152ca4ce60bd5c364341b4d8 (patch) | |
tree | c8d7daf4fc5a2b6a01a2fafe9113b221a05bf0f7 /src/intel | |
parent | fda7014c35e5f5dfa26f078ad0512d13ead8b717 (diff) |
Revert "anv: Print the actual enum for ignored structure types"
This reverts commit fda7014c35e5f5dfa26f078ad0512d13ead8b717. It was
hitting an unreachable when the sType was unknown.
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 8b2e4bbdf08..510471da602 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -57,7 +57,6 @@ #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; @@ -413,8 +412,7 @@ 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 %s\n", __func__, \ - vk_StructureType_to_str(sType)) + intel_logd("%s: ignored VkStructureType %u\n", __func__, (sType)) void __anv_perf_warn(struct anv_instance *instance, const void *object, VkDebugReportObjectTypeEXT type, const char *file, |