mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-20 06:53:11 +00:00
[vulkan] Replaced old logic for DescriptorType for a numeric handling per type to avoid mismatches during format binding
This commit is contained in:
@@ -867,7 +867,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 PixelFormat color_format{DecodeFormat(key.state.color_formats[index])};
|
||||
const bool supports_blending = !VideoCore::Surface::IsPixelFormatInteger(color_format);
|
||||
const std::array mask{blend.Mask()};
|
||||
VkColorComponentFlags write_mask{};
|
||||
for (size_t i = 0; i < mask_table.size(); ++i) {
|
||||
|
||||
Reference in New Issue
Block a user