validation complains about inefficient srcStageMask
usage of VK_PIPELINE_STAGE_ALL_COMMANDS_BIT
#743
Labels
dev-tools
Tools helpful for development
enhancement
New feature or request
performance
Performance improvement needed
refactoring
Improvement of the code base
regression
What worked but was broken
As of #742 validation produces these messages every frame:
Validation Warning: [ BestPractices-pipeline-stage-flags-compute ] Object 0: handle = 0x17840027090, name = cmdbuf[1], type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0xf997c4f2 | vkCmdPipelineBarrier(): srcStageMask using VK_PIPELINE_STAGE_ALL_COMMANDS_BIT
My current understanding is that it is due to this line
xash3d-fwgs/ref/vk/vk_staging.c
Line 227 in ddbad5e
To resolve this we need to properly track buffer (and their subranges) states.
The text was updated successfully, but these errors were encountered: