fix build

This commit is contained in:
CamilleLaVey 2026-03-12 01:31:30 -04:00
parent cd7414814a
commit e05c74108f

View file

@ -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) {