broadcom: use common stype debug

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29009>
This commit is contained in:
Alyssa Rosenzweig 2024-05-01 13:35:11 -04:00 committed by Marge Bot
parent cd6dfd6c2d
commit edac80d8a7
3 changed files with 9 additions and 12 deletions

View File

@ -1537,7 +1537,7 @@ v3dv_GetPhysicalDeviceQueueFamilyProperties2(VkPhysicalDevice physicalDevice,
p->queueFamilyProperties = v3dv_queue_family_properties;
vk_foreach_struct(s, p->pNext) {
v3dv_debug_ignored_stype(s->sType);
vk_debug_ignored_stype(s->sType);
}
}
}
@ -1577,7 +1577,7 @@ v3dv_GetPhysicalDeviceMemoryProperties2(VkPhysicalDevice physicalDevice,
break;
}
default:
v3dv_debug_ignored_stype(ext->sType);
vk_debug_ignored_stype(ext->sType);
break;
}
}
@ -2149,7 +2149,7 @@ v3dv_AllocateMemory(VkDevice _device,
*/
break;
default:
v3dv_debug_ignored_stype(ext->sType);
vk_debug_ignored_stype(ext->sType);
break;
}
}
@ -2302,7 +2302,7 @@ get_image_memory_requirements(struct v3dv_image *image,
break;
}
default:
v3dv_debug_ignored_stype(ext->sType);
vk_debug_ignored_stype(ext->sType);
break;
}
}
@ -2325,7 +2325,7 @@ v3dv_GetImageMemoryRequirements2(VkDevice device,
break;
}
default:
v3dv_debug_ignored_stype(ext->sType);
vk_debug_ignored_stype(ext->sType);
break;
}
}
@ -2527,7 +2527,7 @@ get_buffer_memory_requirements(struct v3dv_buffer *buffer,
break;
}
default:
v3dv_debug_ignored_stype(ext->sType);
vk_debug_ignored_stype(ext->sType);
break;
}
}

View File

@ -407,7 +407,7 @@ v3dv_GetPhysicalDeviceFormatProperties2(VkPhysicalDevice physicalDevice,
break;
}
default:
v3dv_debug_ignored_stype(ext->sType);
vk_debug_ignored_stype(ext->sType);
break;
}
}
@ -692,7 +692,7 @@ v3dv_GetPhysicalDeviceImageFormatProperties2(VkPhysicalDevice physicalDevice,
}
break;
default:
v3dv_debug_ignored_stype(s->sType);
vk_debug_ignored_stype(s->sType);
break;
}
}
@ -713,7 +713,7 @@ v3dv_GetPhysicalDeviceImageFormatProperties2(VkPhysicalDevice physicalDevice,
ycbcr_props = (void *) s;
break;
default:
v3dv_debug_ignored_stype(s->sType);
vk_debug_ignored_stype(s->sType);
break;
}
}

View File

@ -2394,9 +2394,6 @@ const nir_shader_compiler_options *v3dv_pipeline_get_nir_options(void);
uint32_t v3dv_physical_device_vendor_id(const struct v3dv_physical_device *dev);
uint32_t v3dv_physical_device_device_id(const struct v3dv_physical_device *dev);
#define v3dv_debug_ignored_stype(sType) \
mesa_logd("%s: ignored VkStructureType %u:%s\n\n", __func__, (sType), vk_StructureType_to_str(sType))
const uint8_t *v3dv_get_format_swizzle(struct v3dv_device *device, VkFormat f,
uint8_t plane);
const struct v3dv_format *