if (attachment >= attachment_count && attachment != VK_ATTACHMENT_UNUSED) {
skip_call |= log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0, __LINE__,
DRAWSTATE_INVALID_ATTACHMENT_INDEX, "DS",
- "CreateRenderPass: %s attachment %d cannot be greater than the total number of attachments %d.",
+ "CreateRenderPass: %s attachment %d must be less than the total number of attachments %d.",
type, attachment, attachment_count);
}
return skip_call;