From a1544ce989d9fd30d0cc15cfebe5d5df96dba758 Mon Sep 17 00:00:00 2001 From: Lillian Salehi Date: Fri, 22 Nov 2024 00:52:22 -0600 Subject: [PATCH] update ImGui MSAA setting, which caused it to render on top of the top left corner rather than the whole view, and enable sample shading, MSAA needs some setting to choose the best optimal performance vs quality mode rather than max, for performance --- .../devicelibrary.cpp.A6A50BF3BD186A09.idx | Bin 9608 -> 9670 bytes .../index/global.h.67055BFC9A2F7BD6.idx | Bin 5784 -> 5784 bytes imgui.ini | 2 +- src/devicelibrary.cpp | 1 + src/graphics/graphicspipeline.cpp | 3 +-- src/graphics/render.cpp | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.cache/clangd/index/devicelibrary.cpp.A6A50BF3BD186A09.idx b/.cache/clangd/index/devicelibrary.cpp.A6A50BF3BD186A09.idx index 0fc983543226aeae7e509ea1db8498fefc1530c5..00755c3b0392575648954228aeac6414102bc8a2 100644 GIT binary patch literal 9670 zcmY*e30RcX*Pnad83tzFnSlX@0S1_NWFHYh7Lipj6tyz@TdBDQW$t^TmOFwA3J3zB zEG|eUrjjWxWr-G$1}Q4yo}vkYnuzA|-N6obz8-pg&iw9j_IvKR!xQ4;k9&wjaft~F zrX|gtAQp*4w)Fowb7z0PgNQ`;Igw~V!It4;W?b&gpL=Z;G~sfMwO;jBmf}?AsobyO z%fQ6E?6m4k&&Fww+l))5rLUeiX`HwzBO-HPz!}Hpq@TPjkIwg)`p@L5&XBMdeLa$A z4|@9S%IB{i|Lyr>*qwWOZ?!(`h`N%r&dXx$4f~JoYaBmZH|3PeE%NL4{fU3T)B!{K z&mCDkXm?ffjCJq7KmFX~C%28Z*}H}K_5DAWNIc3b=B=FlS@5XNaYsKJydYMxFK*+F z7YWH{pXW$M)$PfQ9I|9gLdD4Y$K=0joYGQqGskKseb+y=2%a2jT{Yid@lkB(?bEq) z#9M~C<=cMV6co66(&cr(H@55T7k^Ql6A-?1s=jPTO8ClVkDVD8!`BbapOBK_yvj4k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ampling{}; multisampling.sType = VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO; - multisampling.sampleShadingEnable = VK_FALSE; + multisampling.sampleShadingEnable = VK_TRUE; multisampling.rasterizationSamples = Global::perPixelSampleCount; // TODO: Document! VkPipelineDepthStencilStateCreateInfo depthStencil{}; diff --git a/src/graphics/render.cpp b/src/graphics/render.cpp index e95140f..db2e98b 100644 --- a/src/graphics/render.cpp +++ b/src/graphics/render.cpp @@ -267,7 +267,7 @@ void Render::init_imgui(VkInstance instance) { .DescriptorPool = imGuiDescriptorPool, .MinImageCount = Global::MAX_FRAMES_IN_FLIGHT, .ImageCount = Global::MAX_FRAMES_IN_FLIGHT, - .MSAASamples = VK_SAMPLE_COUNT_1_BIT, + .MSAASamples = Global::perPixelSampleCount, .UseDynamicRendering = true, .PipelineRenderingCreateInfo = pipelineRenderingCreateInfo, };