mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
panvk: Don't create MS2SS views for internal views
We never use MS2SS from meta. Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39324>
This commit is contained in:
parent
c015759629
commit
05326726a9
1 changed files with 4 additions and 0 deletions
|
|
@ -268,6 +268,10 @@ create_ms_views(struct panvk_device *dev, struct panvk_image_view *view,
|
|||
const VkImageViewCreateInfo *pCreateInfo,
|
||||
const VkAllocationCallbacks *pAllocator)
|
||||
{
|
||||
/* Don't create extra views for internal views. */
|
||||
if (pCreateInfo->flags & VK_IMAGE_VIEW_CREATE_DRIVER_INTERNAL_BIT_MESA)
|
||||
return;
|
||||
|
||||
struct panvk_image *source_img =
|
||||
panvk_image_from_handle(vk_image_to_handle(view->vk.image));
|
||||
const VkImage *target_images = source_img->ms_imgs;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue