Skip to content

Add support for Descriptor Heap/Buffer with Buffer Validation #12657

Description

@spencer-lunarg

Edit: This issue was suppressed with #12735 until we properly add a solution where we can inject buffer validation when the descriptor mode is Heap/Buffer


Running dEQP-VK.binding_model.descriptor_heap.*.acceleration_structure we will fail the tests and have self val error with GPU-AV

I found doing VK_LAYER_GPUAV_BUFFERS_VALIDATION=0 fixes the tests to pass

VK_LAYER_GPUAV_SHADER_INSTRUMENTATION=0 didn't do anything

But even with passing the tests, I still have

Validation Error: [ VUID-vkCmdDispatch-None-11308 ] | MessageID = 0x7c5e473d
[Self Validation] vkCmdDispatch(): The shader [VK_SHADER_STAGE_COMPUTE_BIT] uses resource descriptors, but a resource heap was not bound with vkCmdBindResourceHeapEXT.
The command buffer is currently in 'Classic Descriptor' mode from previous call to vkCmdPushConstants which invalidated the previous 'Descriptor Heap' mode that was set with vkCmdBindResourceHeapEXT
The following resource descriptors were found:
  [Set 1, Binding 13]
  [Set 0, Binding 1]

Metadata

Metadata

Labels

GPU-AVGPU Assisted ValidationRTRay Tracing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions