Skip to content

Commit

Permalink
[gpu.vulkan] remove last reference to IMAGE_LAYOUT_GENERAL
Browse files Browse the repository at this point in the history
  • Loading branch information
harrand committed Oct 17, 2024
1 parent 7eec69f commit 3559829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tz/gpu/rhi_vulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2114,7 +2114,7 @@ namespace tz::gpu
.sType = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO,
.pNext = nullptr,
.imageView = rtv,
.imageLayout = VK_IMAGE_LAYOUT_GENERAL,
.imageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,
.resolveMode = VK_RESOLVE_MODE_NONE,
.resolveImageView = VK_NULL_HANDLE,
.resolveImageLayout = VK_IMAGE_LAYOUT_UNDEFINED,
Expand Down

0 comments on commit 3559829

Please sign in to comment.