From 5a4c69d044c478f0e03c883e116cca34d765c905 Mon Sep 17 00:00:00 2001 From: squidbus <175574877+squidbus@users.noreply.github.com> Date: Thu, 26 Sep 2024 15:57:22 -0700 Subject: [PATCH] liverpool_to_vk: Add MRT feature flags to supported number formats. (#1087) --- src/video_core/renderer_vulkan/liverpool_to_vk.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video_core/renderer_vulkan/liverpool_to_vk.cpp b/src/video_core/renderer_vulkan/liverpool_to_vk.cpp index cc6302c8f..cd527c621 100644 --- a/src/video_core/renderer_vulkan/liverpool_to_vk.cpp +++ b/src/video_core/renderer_vulkan/liverpool_to_vk.cpp @@ -381,12 +381,13 @@ static constexpr vk::FormatFeatureFlags2 GetNumberFormatFeatureFlags( case AmdGpu::NumberFormat::Uint: case AmdGpu::NumberFormat::Sint: case AmdGpu::NumberFormat::Float: - return BufferRead | BufferWrite | ImageRead | ImageWrite; + return BufferRead | BufferWrite | ImageRead | ImageWrite | Mrt; case AmdGpu::NumberFormat::Uscaled: case AmdGpu::NumberFormat::Sscaled: case AmdGpu::NumberFormat::SnormNz: return BufferRead | ImageRead; case AmdGpu::NumberFormat::Srgb: + return ImageRead | Mrt; case AmdGpu::NumberFormat::Ubnorm: case AmdGpu::NumberFormat::UbnromNz: case AmdGpu::NumberFormat::Ubint: