KhronosGroup / KhronosGroup/Vulkan-ValidationLayers
Missing warning about buffer access and usage flags mismatch
Open
@artem-lunarg is already working on this.
Since May 28, 2025.
BestPractices
Synchronization
- Dominant language
- C++
- Stars
- 1k
- Forks
- 505
- Avg merge
- 11h 25m
- Merged PRs (30d)
- 229
Description
Describe the situation in which you encountered the missing validation
Issue description:
Currently there is no VVL message when a uniform buffer is bound and then synchronized with VK_ACCESS_2_SHADER_STORAGE_READ_BIT instead of VK_ACCESS_2_UNIFORM_READ_BIT.
I didn't check if its happening in other combinations (eg storage buffer with uniform read bit).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.