diff options
| author | tarako <r76036296@gmail.com> | 2026-03-03 01:54:57 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-03-03 01:54:57 +0100 |
| commit | d720a7b4b4e3c2bc4f7e2c1b16e282ec91766aa8 (patch) | |
| tree | 4c1eebb39329f97e2bf75d73768734ac20ee988c /src/shader_recompiler/runtime_info.h | |
| parent | 464212393e296c59488171692df1d096ecfa5607 (diff) | |
[vulkan] Fixed dual-source blending to correctly map shader outputs. (#3637)
Fixes Skyward Sword HD eye gitch and a related MoltenVK crash due to the incorrect output mapping. Verified working on mac and android.
The test in vk_pipeline_cache.cpp is a bit ugly, but it didn't seem worth it to go lambda/macro just to make it look cleaner. Could change if necessary.
Co-authored-by: tarako <none@none.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3637
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Co-authored-by: tarako <r76036296@gmail.com>
Co-committed-by: tarako <r76036296@gmail.com>
Diffstat (limited to 'src/shader_recompiler/runtime_info.h')
| -rw-r--r-- | src/shader_recompiler/runtime_info.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/runtime_info.h b/src/shader_recompiler/runtime_info.h index 613c598d0c..be10a9bb08 100644 --- a/src/shader_recompiler/runtime_info.h +++ b/src/shader_recompiler/runtime_info.h @@ -110,6 +110,9 @@ struct RuntimeInfo { /// Output types for each color attachment std::array<AttributeType, 8> color_output_types{}; + + /// Dual source blending + bool dual_source_blend{}; }; } // namespace Shader |
