From e2188b6093113db830f14ba00f3c7a196fc6a5b0 Mon Sep 17 00:00:00 2001 From: spencer-lunarg Date: Wed, 21 Aug 2024 09:59:30 -0400 Subject: [PATCH] layers: Fix 06038 wording --- layers/core_checks/cc_spirv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/core_checks/cc_spirv.cpp b/layers/core_checks/cc_spirv.cpp index f79e8dbc89d..f2992b49c8f 100644 --- a/layers/core_checks/cc_spirv.cpp +++ b/layers/core_checks/cc_spirv.cpp @@ -67,7 +67,7 @@ bool CoreChecks::ValidateShaderInputAttachment(const spirv::Module &module_state } else if (input_attachment_index >= subpass_description.inputAttachmentCount) { const LogObjectList objlist(module_state.handle(), rp_state->Handle()); skip |= LogError("VUID-VkGraphicsPipelineCreateInfo-renderPass-06038", objlist, loc, - "SPIR-V consumes input attachment index %" PRIu32 " but that is greater than the pSubpasses[%" PRIu32 + "SPIR-V consumes input attachment index %" PRIu32 " but that is not less than the pSubpasses[%" PRIu32 "].inputAttachmentCount (%" PRIu32 ").", input_attachment_index, subpass, subpass_description.inputAttachmentCount); } else if (input_attachments[input_attachment_index].attachment == VK_ATTACHMENT_UNUSED) {