Skip to content
Snippets Groups Projects
Verified Commit 2aa1441f authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#66] Fixed problem with 1D depth buffer

parent f4b06de5
No related branches found
No related tags found
1 merge request!54Resolve "Cmd/Sync-Rework"
Pipeline #25449 passed
This commit is part of merge request !54. Comments created here will be created in the context of that merge request.
......@@ -112,6 +112,11 @@ namespace vkcv {
}
}
if (isDepthFormat) {
imageType = vk::ImageType::e2D;
imageViewType = vk::ImageViewType::e2D;
}
vk::ImageTiling imageTiling = vk::ImageTiling::eOptimal;
if (!formatProperties.optimalTilingFeatures) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment