mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-06-06 01:13:45 -04:00
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> |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| ir_opt | ||
| CMakeLists.txt | ||
| environment.h | ||
| exception.h | ||
| host_translate_info.h | ||
| object_pool.h | ||
| profile.h | ||
| program_header.h | ||
| runtime_info.h | ||
| shader_info.h | ||
| stage.h | ||
| varying_state.h | ||