Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (gdb) bt
- #0 get_sorted_vk_formats (surface=0x5555558c0800, wsi_device=0x5555558ca3b0, sorted_formats=0x7fffffffb230, count=0x7fffffffb220) at ../src/vulkan/wsi/wsi_common_x11.c:866
- #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
- #2 0x00007ffff59cad32 in wsi_GetPhysicalDeviceSurfaceFormatsKHR (physicalDevice=0x5555558c9020, _surface=0x5555558c0800, pSurfaceFormatCount=0x7fffffffb364, pSurfaceFormats=0x0) at ../src/vulkan/wsi/wsi_common.c:914
- #3 0x00007ffff5af881e in vk_tramp_GetPhysicalDeviceSurfaceFormatsKHR (physicalDevice=0x5555558c9020, surface=0x5555558c0800, pSurfaceFormatCount=0x7fffffffb364, pSurfaceFormats=0x0) at src/vulkan/runtime/vk_dispatch_trampolines.c:162
- #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
- #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
- #6 vks::SwapChain::setSurface (this=0x7fffffffd6f0, newSurface=...) at /home/luc/gh/VulkanExamples/base/vks/swapchain.hpp:55
- #7 0x000055555559c4ae in vkx::ExampleBase::setupSwapchain (this=0x7fffffffb550) at /home/luc/gh/VulkanExamples/base/vulkanExampleBase.cpp:146
- #8 0x0000555555597768 in vkx::ExampleBase::run (this=0x7fffffffb550) at /home/luc/gh/VulkanExamples/base/vulkanExampleBase.cpp:76
- #9 0x000055555557105f in main (argc=1, argv=0x7fffffffdb28) at /home/luc/gh/VulkanExamples/examples/gears/gears.cpp:139
- (gdb) p *sorted_formats@3
- $4 = {VK_FORMAT_B8G8R8A8_SRGB, VK_FORMAT_B8G8R8A8_UNORM, 1435275296}
- (gdb) c
- Continuing.
- 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
- 850 {
- (gdb) c Continuing.
- [New Thread 0x7fffa67fc700 (LWP 12100)]
- [New Thread 0x7fffa5ffb700 (LWP 12101)]
- gears: ../src/vulkan/runtime/vk_render_pass.c:2347: vk_common_CmdBeginRenderPass2: Assertion `image_view->format == pass_att->format' failed.
- Thread 1 "gears" received signal SIGABRT, Aborted.
- __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
- 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement