adding debug vulkan resources names

This commit is contained in:
2024-09-21 12:18:42 +02:00
parent 2e08c37624
commit 904b6d31ac
27 changed files with 306 additions and 104 deletions

View File

@@ -49,7 +49,7 @@ namespace mlx
{
MLX_PROFILE_FUNCTION();
Texture* texture;
try { texture = new Texture({}, w, h); }
try { texture = new Texture({}, w, h, VK_FORMAT_R8G8B8A8_SRGB, false, "mlx_user_image"); }
catch(...) { return NULL; }
m_image_registry.RegisterTexture(texture);
return texture;