KhronosGroup / KhronosGroup/Vulkan-ValidationLayers

False-positive message with swapchan, but without WSI

Open
#11,477 2 comments 0 reactions 1 assignee View on GitHub

@spencer-lunarg is already working on this.

Since Jan 14, 2026.

BestPractices
Dominant language
C++
Stars
1k
Forks
505
Avg merge
11h 25m
Merged PRs (30d)
229

Description

Environment

  • OS: Linux
  • GPU and driver version: RX 6600XT, Mesa 25.3.3
  • Options enabled: Sumbit time validation, AMD-specific, Performance

Describe the Issue
Without VK_KHR_swapchain validation layer don't know when frame changed and thinking what i bind the same pipeline again, but i have vkEndCommandBuffer and vkQueueSubmit2 every frame with vkWaitForFences waiting, with WSI implementation was fine

Expected behavior
Nothing messages

Instead, i have message:

Validation Performance Warning: [ BestPractices-Pipeline-SortAndBind ] | MessageID = 0x6d0c146d
vkCmdBindPipeline(): [AMD] [NVIDIA] Pipeline VkPipeline 0x380000000038 was bound twice in the frame. Keep pipeline state changes to a minimum, for example, by sorting draw calls by pipeline.

Additional context
I make pure Wayland application, without libwayland-client

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.