From 57493a1ff1bf5292c155785307dc58f9b452b9eb Mon Sep 17 00:00:00 2001 From: Tony Barbour Date: Mon, 7 Aug 2023 12:17:04 -0600 Subject: [PATCH] gpu: Dont validate descriptors if descriptor buffer is enabled --- layers/gpu_validation/gpu_validation.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layers/gpu_validation/gpu_validation.cpp b/layers/gpu_validation/gpu_validation.cpp index bb23446a2ec..b4ebf808580 100644 --- a/layers/gpu_validation/gpu_validation.cpp +++ b/layers/gpu_validation/gpu_validation.cpp @@ -161,7 +161,9 @@ void GpuAssisted::CreateDevice(const VkDeviceCreateInfo *pCreateInfo) { if (IsExtEnabled(device_extensions.vk_ext_descriptor_buffer)) { LogWarning(device, "UNASSIGNED-GPU-Assisted Validation Warning", - "VK_EXT_descriptor_buffer is enabled, but GPU-AV does not currently support validation of descriptor buffers"); + "VK_EXT_descriptor_buffer is enabled, but GPU-AV does not currently support validation of descriptor buffers. " + "No descriptor checking will be attempted"); + validate_descriptors = false; } output_buffer_size = sizeof(uint32_t) * (spvtools::kInstMaxOutCnt + spvtools::kDebugOutputDataOffset);