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:

committed by
Marge Bot

parent
c41eaf0add
commit
41318a5819
@@ -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);
|
||||
|
Reference in New Issue
Block a user