mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 19:08:38 +00:00
GLSL.std.450 Fma may be split into two roundings by a driver (Vulkan environment: inherited from OpFMul followed by OpFAdd); RDNA2 v_fma_* round once. --fma khr (default stays glsl) emits OpFmaKHR with capability FMAKHR and SPV_KHR_fma and lists shaderFmaFloat32 in the index. Runtime device creation and the vk_* test programs enable VK_KHR_shader_fma when present; cs_fma_fused tests single rounding; the mini interpreter learns OpFmaKHR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>