Reputation: 9
screenshot My OS is Windows 10, I use Visual Studio 2022. Vulkan SDK was downloaded from the official site, I had never faced problems before.
I had tried
for %1 in (*.dll) do regsvr32 /s %1
in command prompt but it didn't help.
sfc /scannow
showed nothing either.
Event Viewer left me with this: screenshot
Upvotes: 0
Views: 471
Reputation: 5828
commandBuffer.endRenderPass()
sounds like you use the Vulkan C++ bindings. And those just wrap C-api calls. So commandBuffer.endRenderPass()
calls vkCmdEndRendering
.
And that function is only available with Vulkan 1.3 (and newer). So in order to use it, you need to request an instance with API version 1.3 (or newer).
Or alternatively you can use the extension function (vkCmdEndRenderingKHR
) if you enable the VK_KHR_dynamic_rendering
extension. But then you need to manually load the function pointer.
Upvotes: 0