Vertices does not rendering

Started by
5 comments, last by BlackJoker 5 years ago

Hi. I am studying Vulkan tutorials and go to the vertex buffer creation.

I an using my own C# bindings for Vulkan and everything was working fine until I created Vertex buffer.

After that - no triangle stopped rendering and there are no messages from validation layer at all.

So, I have no errors, but no rendering too. And my question is how to debug Vulkan app in such cases? Is there some technique?

EDIT: or maybe I need to enable some specific validation layer?

Please, help

Advertisement

After the compiler and debug layers have been exhausted, you can proceed to debug using a snapshot capture mechanism, such as the one found in Snapdragon Profiler. Simply take a snapshot of one frame of your application, then examine each stage and see where your rendering is going wrong.

It would be good, but seems Visual studio does not support graphics debugging in Vulkan applications or am I missing something?

Are you on Windows? Try RenderDoc for Vulkan API snapshot.

Yes, use RenderDoc. There are a lot of things that you could be doing wrong that wouldn't trigger any validation errors, and the easiest way to catch them is to just grab a snapshot and start inspecting stuff.

Ok, thanks. I will try it.

This topic is closed to new replies.

Advertisement