vulkan: Use vk_object_base::type for debug_report

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8676>
This commit is contained in:
Jason Ekstrand
2021-01-28 17:20:24 -06:00
committed by Marge Bot
parent c41eaf0add
commit 41318a5819
8 changed files with 39 additions and 42 deletions

View File

@@ -114,9 +114,8 @@ __vk_errorv(struct radv_instance *instance, const void *object,
if (instance) {
vk_debug_report(&instance->vk.debug_report,
VK_DEBUG_REPORT_ERROR_BIT_EXT, type,
(uint64_t)(uintptr_t) object, line, 0, "radv",
report);
VK_DEBUG_REPORT_ERROR_BIT_EXT,
object, line, 0, "radv", report);
}
fprintf(stderr, "%s\n", report);