Skip to content

Commit

Permalink
Dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaughan committed May 24, 2024
1 parent df70573 commit 1018132
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ cmake-build-debug
bld/
[Bb]in/
[Oo]bj/
[Dd]eploy/

Ninja
run_tree/renders
Expand Down
2 changes: 1 addition & 1 deletion src/scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ fs::path scene_get_scenegraph(const fs::path& root, const std::vector<fs::path>&
// 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");
Expand Down
2 changes: 1 addition & 1 deletion src/vulkan/vulkan_surface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1018132

Please sign in to comment.