Vulkan RenderPass Incompatible #5700
Closed
Vitriol1744
started this conversation in
New Users Build/Link/Run issues ONLY!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
When i am draging imgui window outside of my main window, i get bunch of errors from validation layer about incompatible renderPass. I saw pull request that was fixing this error here - #3522. but for some reason this error occurs for me. i am using the latest version of imgui docking branch
my initialization imgui code:
`::ImGui::CreateContext();
::ImGui::StyleColorsDark();
my render code:
`ImGui_ImplGlfw_NewFrame();
ImGui_ImplVulkan_NewFrame();
::ImGui::NewFrame();
IRendererAPI::BeginRenderPass();
ImGui::Begin();
::ImGui::SliderFloat4("Clear Color", reinterpret_cast<float*>(&color), 0.0f, 1.0f);
bool demoWindow = true;
::ImGui::ShowDemoWindow(&demoWindow);
ImGui::End();
//IRendererAPI::DrawIndexed(vertexBuffer, indexBuffer, 6);
IRendererAPI::EndRenderPass();
::ImGui::Render();
VkCommandBuffer commandBuffer = VulkanRendererAPI::GetCommandBuffer();
ImGui_ImplVulkan_RenderDrawData(::ImGui::GetDrawData(), commandBuffer);`
Beta Was this translation helpful? Give feedback.
All reactions