Closed Superlee506 closed 4 years ago
It's pretty much impossible to help without a proper error description. What does "it always stuck" mean? Do you get an error? Do you get validation layer messages?
Vulkan applications usually can't get stuck at a rendering operation for too long as the TDR will kick in which will result in a Vulkan error.
Thanks for this great project. I want to save the pbr result in a texutre, so I need to add a offscreen render pass. I implement this as follows:
prepare offscreen renderPass as in https://github.com/SaschaWillems/Vulkan/tree/master/examples/offscreen.
prepare a offscreen pipeline
build a command buffer and change the the
recordCommandBuffers
function.But, when I run the project, it always stuck. I don't know why. Any suggestion would be appreciated.