fix Android Vulkan instrumentation tests (#4091)
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#define VMA_DYNAMIC_VULKAN_FUNCTIONS 0
|
||||
#include "vk_mem_alloc.h"
|
||||
|
||||
#ifndef NDEBUG
|
||||
#if !defined(NDEBUG) && !defined(__ANDROID__)
|
||||
#define ENABLE_VULKAN_VALIDATION
|
||||
// #define ENABLE_VULKAN_GPU_ASSISTED_VALIDATION
|
||||
// #define ENABLE_VMA_DEBUG
|
||||
@@ -61,7 +61,7 @@ public:
|
||||
if (!debugUtilsEnabled) return;
|
||||
const uint64_t handle = reinterpret_cast<uint64_t>(static_cast<typename T::CType>(object));
|
||||
device->setDebugUtilsObjectNameEXT(vk::DebugUtilsObjectNameInfoEXT()
|
||||
.setObjectType(object.objectType)
|
||||
.setObjectType(T::objectType)
|
||||
.setObjectHandle(handle)
|
||||
.setPObjectName(name.c_str()),
|
||||
dispatcher);
|
||||
|
||||
Reference in New Issue
Block a user