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

False positives in UNASSIGNED-CoreValidation-DrawState-InvalidImageLayout when rendering using descriptor indexing #8688

Open
corporateshark opened this issue Oct 12, 2024 · 0 comments
Labels
GPU-AV GPU Assisted Validation

Comments

@corporateshark
Copy link
Contributor

Environment:

  • OS: Windows 10
  • GPU and driver version: NVIDIA 565.90
  • SDK or header version if building from repo: 1.3.296
  • Options enabled (synchronization, best practices, etc.): Enabled: GPA/Shader Instrumentation/Descriptor Indexing

Describe the Issue

  1. Run Chapter08/01_DescriptorIndexing

  2. Observe validation errors:

Validation layer:
 Validation Error: UNASSIGNED-CoreValidation-DrawState-InvalidImageLayout
 Object 0: handle = 000001DDE46EC3E0, type = VK_OBJECT_TYPE_COMMAND_BUFFER;
 MessageID = 0000000000000000
 vkCmdDraw():  command buffer VkCommandBuffer 0x1dde46ec3e0[] expects
  VkImage 0x7222ad000000040f[Image: deps/src/explosion/explosion1/explosion01-frame015.tga]
  (subresource: aspectMask VK_IMAGE_ASPECT_COLOR_BIT array layer 0, mip level 0)
  to be in layout  VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL -- 
  instead, current layout is VK_IMAGE_LAYOUT_UNDEFINED.

Expected behavior

Previous SDK versions have no errors.

Additional context

Behavior changes when toggling GPA/Shader Instrumentation/Descriptor Indexing.

@spencer-lunarg spencer-lunarg added the GPU-AV GPU Assisted Validation label Oct 13, 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