[vulkan] Implemented active color output tracking in runtime info and update fragment color handling

This commit is contained in:
CamilleLaVey 2026-03-06 18:51:45 -04:00 committed by lizzie
parent 4481391474
commit 3db45f3c46
4 changed files with 21 additions and 2 deletions

View file

@ -111,6 +111,9 @@ struct RuntimeInfo {
/// Output types for each color attachment
std::array<AttributeType, 8> color_output_types{};
/// Fragment color outputs that are active for the current pipeline.
std::array<bool, 8> active_color_outputs{true, true, true, true, true, true, true, true};
/// Dual source blending
bool dual_source_blend{};
};