panvk: Fix panvk_plane_index() for D32_SFLOAT_S8_UINT
We currently support D32_S8 as a single-planar format on Bifrost, so fix the panvk_plane_index() accordingly. We will restore this once we move to multi-planar D32_S8, which should happen soon. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31776>
This commit is contained in:
committed by
Marge Bot
parent
ad8da772ab
commit
1289c5a30b
@@ -359,8 +359,6 @@ panvk_plane_index(VkFormat format, VkImageAspectFlags aspect_mask)
|
||||
return 1;
|
||||
case VK_IMAGE_ASPECT_PLANE_2_BIT:
|
||||
return 2;
|
||||
case VK_IMAGE_ASPECT_STENCIL_BIT:
|
||||
return format == VK_FORMAT_D32_SFLOAT_S8_UINT;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user