VulkanTutorial icon indicating copy to clipboard operation
VulkanTutorial copied to clipboard

best practices validation warnings

Open jjYBdx4IL opened this issue 3 years ago • 3 comments

There are some best practices validation warnings. Maybe we can fix them together? Here are two that I simply can't fix because I don't know what's causing them:

  • Validation Warning: [ UNASSIGNED-BestPractices-pipeline-stage-flags ] Object 0: handle = 0x1ddf07b8550, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x48a09f6c | You are using VK_PIPELINE_STAGE_ALL_COMMANDS_BIT when vkCmdPipelineBarrier is called
  • Validation Performance Warning: [ UNASSIGNED-BestPractices-vkCreateCommandPool-command-buffer-reset ] Object 0: handle = 0x2a6c31da9d0, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x8728e724 | vkCreateCommandPool(): VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT is set. Consider resetting entire pool instead.

jjYBdx4IL avatar Feb 26 '22 21:02 jjYBdx4IL

pull request #270

jjYBdx4IL avatar Feb 26 '22 21:02 jjYBdx4IL

booted up my PC, warnings are gone now. for no apparent reason. Adding the bp layer would be useful nonetheless, I guess.

jjYBdx4IL avatar Feb 27 '22 12:02 jjYBdx4IL

turns out it was MSI Afterburner OSD. That and other apps like OBS seem to cause issues like that.

jjYBdx4IL avatar Feb 27 '22 16:02 jjYBdx4IL