c++ - How to troubleshoot vulkan blank screen? -
i went through lunarg 'drawcube' samples , incorporated code engine. when run, black screen, since black clear color. can change clear color different color , see it. but, geometry not render @ all. no errors or warnings generated.
my question is, can troubleshoot issue this?
renderdoc installs vulkan sdk (at least on windows), , frame debugger, similar pix/diagnostics, codexl , nsight. can give view of how graphics pipelines processing data.
you should enable validation layers (particularly vk_layer_lunarg_standard_validation
), , install debug callback. if triggering 'warn' or 'error' messages, these indication of why not executing you'd expect.
Comments
Post a Comment