layers: rename VkDbgObjectType
VkDebugReportObjectTypeLUNARG fits the extension naming requirements
diff --git a/layers/mem_tracker.cpp b/layers/mem_tracker.cpp
index 0fb9e34..4166c3a 100644
--- a/layers/mem_tracker.cpp
+++ b/layers/mem_tracker.cpp
@@ -96,7 +96,7 @@
get_object_binding_info(
layer_data *my_data,
uint64_t handle,
- VkDbgObjectType type)
+ VkDebugReportObjectTypeLUNARG type)
{
MT_OBJ_BINDING_INFO* retValue = NULL;
switch (type)
@@ -199,7 +199,7 @@
add_object_binding_info(
layer_data *my_data,
const uint64_t handle,
- const VkDbgObjectType type,
+ const VkDebugReportObjectTypeLUNARG type,
const VkDeviceMemory mem)
{
switch (type)
@@ -224,7 +224,7 @@
add_object_create_info(
layer_data *my_data,
const uint64_t handle,
- const VkDbgObjectType type,
+ const VkDebugReportObjectTypeLUNARG type,
const void *pCreateInfo)
{
// TODO : For any CreateInfo struct that has ptrs, need to deep copy them and appropriately clean up on Destroy
@@ -360,7 +360,7 @@
VkFlags desired,
VkBool32 strict,
uint64_t obj_handle,
- VkDbgObjectType obj_type,
+ VkDebugReportObjectTypeLUNARG obj_type,
char const *ty_str,
char const *func_name,
char const *usage_str)
@@ -679,7 +679,7 @@
static const char*
object_type_to_string(
- VkDbgObjectType type)
+ VkDebugReportObjectTypeLUNARG type)
{
switch (type)
{
@@ -707,7 +707,7 @@
layer_data *my_data,
void *dispObj,
uint64_t handle,
- VkDbgObjectType type)
+ VkDebugReportObjectTypeLUNARG type)
{
// TODO : Need to customize images/buffers/swapchains to track mem binding and clear it here appropriately
VkBool32 skipCall = VK_FALSE;
@@ -751,7 +751,7 @@
void *dispatch_object,
VkDeviceMemory mem,
uint64_t handle,
- VkDbgObjectType type,
+ VkDebugReportObjectTypeLUNARG type,
const char *apiName)
{
VkBool32 skipCall = VK_FALSE;
@@ -811,7 +811,7 @@
void *dispObject,
VkDeviceMemory mem,
uint64_t handle,
- VkDbgObjectType type,
+ VkDebugReportObjectTypeLUNARG type,
const char *apiName)
{
VkBool32 skipCall = VK_FALSE;
@@ -858,7 +858,7 @@
layer_data *my_data,
void *dispObj,
T const& objectName,
- VkDbgObjectType objectType,
+ VkDebugReportObjectTypeLUNARG objectType,
const char *objectStr)
{
for (auto const& element : objectName) {
@@ -873,7 +873,7 @@
layer_data *my_data,
void *dispObj,
const uint64_t handle,
- const VkDbgObjectType type,
+ const VkDebugReportObjectTypeLUNARG type,
VkDeviceMemory *mem)
{
VkBool32 skipCall = VK_FALSE;