From 1018132db698bc76a4d6b08e489d562bcfaf7d1b Mon Sep 17 00:00:00 2001 From: Chris Maughan <120447+cmaughan@users.noreply.github.com> Date: Fri, 24 May 2024 08:06:00 +0100 Subject: [PATCH] Dbg --- .gitignore | 1 + src/scene.cpp | 2 +- src/vulkan/vulkan_surface.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3bc9d5a..0e6fdd5 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ cmake-build-debug bld/ [Bb]in/ [Oo]bj/ +[Dd]eploy/ Ninja run_tree/renders diff --git a/src/scene.cpp b/src/scene.cpp index bd464b4..6401235 100644 --- a/src/scene.cpp +++ b/src/scene.cpp @@ -301,7 +301,7 @@ fs::path scene_get_scenegraph(const fs::path& root, const std::vector& // If there is no scenegraph, make an empty one if (!fs::exists(sceneGraphPath) && fs::is_directory(root)) { - sceneGraphPath = root / "scene.scenegraph"; + sceneGraphPath = root / "default.scenegraph"; try { Zest::file_write(sceneGraphPath, "# Scenegraph"); diff --git a/src/vulkan/vulkan_surface.cpp b/src/vulkan/vulkan_surface.cpp index 1c8c7fb..fd9882c 100644 --- a/src/vulkan/vulkan_surface.cpp +++ b/src/vulkan/vulkan_surface.cpp @@ -246,7 +246,7 @@ void surface_set_sampling(VulkanContext& ctx, VulkanSurface& surface) // See chapter 11.4 "vk::Image Layout" for details void surface_set_layout(VulkanContext& ctx, vk::CommandBuffer cmdbuffer, VulkanSurface& vulkanSurface, vk::ImageAspectFlags aspectMask, vk::ImageLayout oldImageLayout, vk::ImageLayout newImageLayout, vk::ImageSubresourceRange subresourceRange, const VulkanSurfaceLayoutFlags& flags) { - LOG(DBG, "SetLayout: " << vulkanSurface << ", to: " << to_string(newImageLayout)); + LOG(DBG, "SetLayout: " << vulkanSurface << ", from: " << to_string(oldImageLayout) << ", to: " << to_string(newImageLayout)); // Create an image barrier object vk::ImageMemoryBarrier imageMemoryBarrier;