vulkan: Depth/stencil isn't fragment output state but multisample is

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17696>
This commit is contained in:
Jason Ekstrand 2022-07-20 13:32:28 -05:00 committed by Marge Bot
parent cc84d4ca66
commit 00269c09d6
1 changed files with 2 additions and 4 deletions

View File

@ -1180,12 +1180,10 @@ vk_graphics_pipeline_state_fill(const struct vk_device *device,
}
if (lib & VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_OUTPUT_INTERFACE_BIT_EXT) {
if (rp.attachment_aspects & (VK_IMAGE_ASPECT_DEPTH_BIT |
VK_IMAGE_ASPECT_STENCIL_BIT))
needs |= MESA_VK_GRAPHICS_STATE_DEPTH_STENCIL_BIT;
if (rp.attachment_aspects & (VK_IMAGE_ASPECT_COLOR_BIT))
needs |= MESA_VK_GRAPHICS_STATE_COLOR_BLEND_BIT;
needs |= MESA_VK_GRAPHICS_STATE_MULTISAMPLE_BIT;
}
/*