Skip to content

Commit

Permalink
layers: Fix 06038 wording
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-lunarg committed Aug 21, 2024
1 parent c4dd022 commit e2188b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/core_checks/cc_spirv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e2188b6

Please sign in to comment.