diff options
| author | rayman30 <silentbitdev@gmail.com> | 2026-01-29 17:24:36 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-01-29 17:24:36 +0100 |
| commit | 643f11d97218aad2c008d323b32bc65fa36f9e2d (patch) | |
| tree | 32dedd21c73b308107e996036855b251b3f7988c /docs/Build.md | |
| parent | 025bc799f782be40544d2718bdcbb8f4d0d033d2 (diff) | |
[VK, MacOS] Fix strict output type mismatch on Metal (MK8D/TOTK fix) (#3414)
Metal validation requires fragment shader output types to strictly match the render target format (e.g., writing float to RGBA32Uint is invalid).
This commit:
1. Adds color_output_types to RuntimeInfo.
2. Detects Integer/SignedInteger render targets in the Vulkan backend (MoltenVK only).
3. Updates the SPIR-V emitter to declare the correct output type (Uint/Sint) and bitcast values accordingly.
This fixes the VK_ERROR_INITIALIZATION_FAILED crash on macOS.
Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3414
Co-authored-by: rayman30 <silentbitdev@gmail.com>
Co-committed-by: rayman30 <silentbitdev@gmail.com>
Diffstat (limited to 'docs/Build.md')
0 files changed, 0 insertions, 0 deletions
