Skip to content

Commit

Permalink
gpu: Dont validate descriptors if descriptor buffer is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyBarbour committed Aug 18, 2023
1 parent dfcd47d commit 57493a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layers/gpu_validation/gpu_validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 57493a1

Please sign in to comment.