Jump to content
  • Advertisement
BlackJoker

Vulkan Vertices does not rendering

Recommended Posts

Posted (edited)

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

Edited by BlackJoker

Share this post


Link to post
Share on other sites
Advertisement
Posted (edited)

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.

Edited by Steve_Segreto

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!