Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VVL complain image layout is undefined when enable VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT #8951

Open
vkensou opened this issue Dec 3, 2024 · 1 comment
Assignees
Labels
GPU-AV GPU Assisted Validation

Comments

@vkensou
Copy link

vkensou commented Dec 3, 2024

Environment:

  • OS: Windows 10
  • GPU and driver version: Nvidia 2060
  • SDK or header version if building from repo: 1.3.296.0 download from lunarg.com
  • Options enabled (synchronization, best practices, etc.): VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT

Describe the Issue

When enable VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT, VVL complain image 0xd10d270000000018 current layout is VK_IMAGE_LAYOUT_UNDEFINED, but it already transition to VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL when frame 0.
Strangely, it doesn't complain every frame, but only starts complaining from the frame 3.

Expected behavior

Don't complain UNASSIGNED-CoreValidation-DrawState-InvalidImageLayout

Additional context

Here is full API dump.: report.txt

code or terminal output
UNASSIGNED-CoreValidation-DrawState-InvalidImageLayout(ERROR / SPEC): msgNum: 1303270965 - Validation Error: [ UNASSIGNED-CoreValidation-DrawState-InvalidImageLayout ] Object 0: handle = 0x25b1d1aeab0, type = VK_OBJECT_TYPE_COMMAND_BUFFER; Object 1: handle = 0xd
10d270000000018, type = VK_OBJECT_TYPE_IMAGE; | MessageID = 0x4dae5635 | vkCmdDraw():  command buffer VkCommandBuffer 0x25b1d1aeab0[] expects VkImage 0xd10d270000000018[] (subresource: aspectMask VK_IMAGE_ASPECT_COLOR_BIT array layer 0, mip level 0) to be in lay
out VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL--instead, current layout is VK_IMAGE_LAYOUT_UNDEFINED.
    Objects: 2
        [0] 0x25b1d1aeab0, type: 6, name: NULL
        [1] 0xd10d270000000018, type: 10, name: NULL
@spencer-lunarg
Copy link
Contributor

most likely a duplicate of #8688 (and currently working on it!)

@spencer-lunarg spencer-lunarg added Bug Something isn't working GPU-AV GPU Assisted Validation labels Dec 3, 2024
@spencer-lunarg spencer-lunarg self-assigned this Dec 3, 2024
@spencer-lunarg spencer-lunarg removed the Bug Something isn't working label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GPU-AV GPU Assisted Validation
Projects
None yet
Development

No branches or pull requests

2 participants