KhronosGroup / KhronosGroup/Vulkan-ValidationLayers

Missing warning about buffer access and usage flags mismatch

Open
#10,095 14 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.