From e05c74108f5e32178531cac3f810f862717665c2 Mon Sep 17 00:00:00 2001 From: CamilleLaVey Date: Thu, 12 Mar 2026 01:31:30 -0400 Subject: [PATCH] fix build --- src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp index 9786b6e900..bdf8692e42 100644 --- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp +++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp @@ -893,7 +893,8 @@ void GraphicsPipeline::MakePipeline(VkRenderPass render_pass) { VK_COLOR_COMPONENT_A_BIT, }; const auto& blend{key.state.attachments[index]}; - const bool supports_blending = !VideoCore::Surface::IsPixelFormatInteger(key.color_formats[index]); + const bool supports_blending = + !VideoCore::Surface::IsPixelFormatInteger(DecodeFormat(key.state.color_formats[index])); const std::array mask{blend.Mask()}; VkColorComponentFlags write_mask{}; for (size_t i = 0; i < mask_table.size(); ++i) {