Advertisement
lucmann

VulkanExamples/gears

Aug 24th, 2024
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. (gdb) bt
  2. #0 get_sorted_vk_formats (surface=0x5555558c0800, wsi_device=0x5555558ca3b0, sorted_formats=0x7fffffffb230, count=0x7fffffffb220) at ../src/vulkan/wsi/wsi_common_x11.c:866
  3. #1 0x00007ffff59d36d6 in x11_surface_get_formats (surface=0x5555558c0800, wsi_device=0x5555558ca3b0, pSurfaceFormatCount=0x7fffffffb364, pSurfaceFormats=0x0) at ../src/vulkan/wsi/wsi_common_x11.c:899
  4. #2 0x00007ffff59cad32 in wsi_GetPhysicalDeviceSurfaceFormatsKHR (physicalDevice=0x5555558c9020, _surface=0x5555558c0800, pSurfaceFormatCount=0x7fffffffb364, pSurfaceFormats=0x0) at ../src/vulkan/wsi/wsi_common.c:914
  5. #3 0x00007ffff5af881e in vk_tramp_GetPhysicalDeviceSurfaceFormatsKHR (physicalDevice=0x5555558c9020, surface=0x5555558c0800, pSurfaceFormatCount=0x7fffffffb364, pSurfaceFormats=0x0) at src/vulkan/runtime/vk_dispatch_trampolines.c:162
  6. #4 0x00005555555aba72 in vk::DispatchLoaderStatic::vkGetPhysicalDeviceSurfaceFormatsKHR (this=0x555555799010 <vk::getDispatchLoaderStatic()::dls>, physicalDevice=0x5555558ce380, surface=0x55555589a5e0, pSurfaceFormatCount=0x7fffffffb364, pSurfaceFormats=0x0) at /home/luc/gh/1.3.290.0/x86_64/include/vulkan/vulkan.hpp:2439
  7. #5 0x00005555555cffde in vk::PhysicalDevice::getSurfaceFormatsKHR<std::allocator<vk::SurfaceFormatKHR>, vk::DispatchLoaderStatic> (d=..., surface=..., this=0x7fffffffd740) at /home/luc/gh/1.3.290.0/x86_64/include/vulkan/vulkan_funcs.hpp:8411
  8. #6 vks::SwapChain::setSurface (this=0x7fffffffd6f0, newSurface=...) at /home/luc/gh/VulkanExamples/base/vks/swapchain.hpp:55
  9. #7 0x000055555559c4ae in vkx::ExampleBase::setupSwapchain (this=0x7fffffffb550) at /home/luc/gh/VulkanExamples/base/vulkanExampleBase.cpp:146
  10. #8 0x0000555555597768 in vkx::ExampleBase::run (this=0x7fffffffb550) at /home/luc/gh/VulkanExamples/base/vulkanExampleBase.cpp:76
  11. #9 0x000055555557105f in main (argc=1, argv=0x7fffffffdb28) at /home/luc/gh/VulkanExamples/examples/gears/gears.cpp:139
  12. (gdb) p *sorted_formats@3
  13. $4 = {VK_FORMAT_B8G8R8A8_SRGB, VK_FORMAT_B8G8R8A8_UNORM, 1435275296}
  14. (gdb) c
  15. Continuing.
  16.  
  17. Thread 1 "gears" hit Breakpoint 1, get_sorted_vk_formats (surface=0x5555558c0800, wsi_device=0x5555558ca3b0, sorted_formats=0x7fffffffb230, count=0x7fffffffb220) at ../src/vulkan/wsi/wsi_common_x11.c:850
  18. 850 {
  19. (gdb) c Continuing.
  20. [New Thread 0x7fffa67fc700 (LWP 12100)]
  21. [New Thread 0x7fffa5ffb700 (LWP 12101)]
  22. gears: ../src/vulkan/runtime/vk_render_pass.c:2347: vk_common_CmdBeginRenderPass2: Assertion `image_view->format == pass_att->format' failed.
  23. Thread 1 "gears" received signal SIGABRT, Aborted.
  24. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
  25. 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
  26.  
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement