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

[#82] Yeet daaa fix

parent cec8dd38
No related branches found
No related tags found
1 merge request!70Resolve "Voxel cone tracing"
Pipeline #26008 passed
...@@ -323,7 +323,7 @@ int main(int argc, const char** argv) { ...@@ -323,7 +323,7 @@ int main(int argc, const char** argv) {
skyPipeConfig.m_Width = windowWidth; skyPipeConfig.m_Width = windowWidth;
skyPipeConfig.m_Height = windowHeight; skyPipeConfig.m_Height = windowHeight;
skyPipeConfig.m_PassHandle = skyPass; skyPipeConfig.m_PassHandle = skyPass;
skyPipeConfig.m_VertexLayout = vkcv::VertexLayout({}); skyPipeConfig.m_VertexLayout = vkcv::VertexLayout();
skyPipeConfig.m_DescriptorLayouts = {}; skyPipeConfig.m_DescriptorLayouts = {};
skyPipeConfig.m_UseDynamicViewport = true; skyPipeConfig.m_UseDynamicViewport = true;
skyPipeConfig.m_multisampling = msaa; skyPipeConfig.m_multisampling = msaa;
...@@ -338,7 +338,7 @@ int main(int argc, const char** argv) { ...@@ -338,7 +338,7 @@ int main(int argc, const char** argv) {
vkcv::ImageHandle colorBuffer = core.createImage(colorBufferFormat, windowWidth, windowHeight, 1, false, colorBufferRequiresStorage, true, msaa).getHandle(); vkcv::ImageHandle colorBuffer = core.createImage(colorBufferFormat, windowWidth, windowHeight, 1, false, colorBufferRequiresStorage, true, msaa).getHandle();
vkcv::ImageHandle resolvedColorBuffer; vkcv::ImageHandle resolvedColorBuffer;
if (msaa != vkcv::Multisampling::None) { if (usingMsaa) {
resolvedColorBuffer = core.createImage(colorBufferFormat, windowWidth, windowHeight, 1, false, true, true).getHandle(); resolvedColorBuffer = core.createImage(colorBufferFormat, windowWidth, windowHeight, 1, false, true, true).getHandle();
} }
else { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment