From 10ef357f1fe89475da6d0817058045f37e9ed438 Mon Sep 17 00:00:00 2001 From: IndecisiveTurtle <47210458+raphaelthegreat@users.noreply.github.com> Date: Sat, 29 Jun 2024 15:18:49 +0300 Subject: [PATCH] image: Fix image type of 1D Array --- src/video_core/texture_cache/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/texture_cache/image.cpp b/src/video_core/texture_cache/image.cpp index b5a6a0d4..b1c2362f 100644 --- a/src/video_core/texture_cache/image.cpp +++ b/src/video_core/texture_cache/image.cpp @@ -104,9 +104,9 @@ static vk::ImageUsageFlags ImageUsageFlags(const ImageInfo& info) { static vk::ImageType ConvertImageType(AmdGpu::ImageType type) noexcept { switch (type) { case AmdGpu::ImageType::Color1D: + case AmdGpu::ImageType::Color1DArray: return vk::ImageType::e1D; case AmdGpu::ImageType::Color2D: - case AmdGpu::ImageType::Color1DArray: case AmdGpu::ImageType::Cube: case AmdGpu::ImageType::Color2DArray: return vk::ImageType::e2D;