Searched refs:first_layout (Results 1 – 2 of 2) sorted by relevance
/external/vulkan-validation-layers/layers/ |
D | buffer_validation.cpp | 3419 … const VkImageLayout first_layout, const uint32_t attachment, in ValidateLayoutVsAttachmentDescription() argument 3427 if (use_rp2 && ((first_layout == VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL) || in ValidateLayoutVsAttachmentDescription() 3428 (first_layout == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) || in ValidateLayoutVsAttachmentDescription() 3429 … (first_layout == VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL))) { in ValidateLayoutVsAttachmentDescription() 3433 …lear attachment %d with invalid first layout %s.", attachment, string_VkImageLayout(first_layout)); in ValidateLayoutVsAttachmentDescription() 3434 } else if (!use_rp2 && ((first_layout == VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL) || in ValidateLayoutVsAttachmentDescription() 3435 (first_layout == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL))) { in ValidateLayoutVsAttachmentDescription() 3439 …lear attachment %d with invalid first layout %s.", attachment, string_VkImageLayout(first_layout)); in ValidateLayoutVsAttachmentDescription() 3443 if (first_layout == VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL) { in ValidateLayoutVsAttachmentDescription() 3447 …lear attachment %d with invalid first layout %s.", attachment, string_VkImageLayout(first_layout)); in ValidateLayoutVsAttachmentDescription() [all …]
|
D | core_validation.h | 851 … const VkImageLayout first_layout, const uint32_t attachment,
|