Hi Josef,
As a test of the port of the Khronos Ray Tracing changes from VulkanPBRT to VulkanSceneGraph I've forked VulkanPBRT and removed the local sources for VulkanSceneGraph, vsgImGui and vsgXchange, tweaked the CMakeLists.txt to pull in the external dependencies and it builds and runs as before :-)
I've put all these changes into a UseSeparateVulkanSceneGraph branch:
I would appreciate it if you can have a look through the KhronosRayTracing branch changes to see if everything looks complete. If everything looks OK I'll merge this branch with master - I'll leave this till tomorrow though so yourself and others can test/pitch in.
If you'd like to adopt the changes I've made to VulkanPBRT just let me know I can general a PR on your main report.
I haven't looked at the Vulkan debug error:
Objects: 1
[0] 0x4c000000004c, type: 9, name: NULL
UNASSIGNED-CoreValidation-DrawState-InvalidImageLayout(ERROR / SPEC): msgNum: 1303270965 - Validation Error: [ UNASSIGNED-CoreValidation-DrawState-InvalidImageLayout ] Object 0: handle = 0x560d315aeb78, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID =
0x4dae5635 | Submitted command buffer expects VkImage 0x40000000004[] (subresource: aspectMask 0x1 array layer 0, mip level 0) to be in layout VK_IMAGE_LAYOUT_GENERAL--instead, current layout is VK_IMAGE_LAYOUT_UNDEFINED.
Objects: 1
[0] 0x560d315aeb78, type: 6, name: NULL
I think this is likely just a case of setting the image correctly.
Cheers,
Robert.