mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-27 00:28:14 +00:00
The recompiler asked for DenormPreserve only for 16-bit and 64-bit floats, so a device that flushes 32-bit denormals by default (RADV, MoltenVK) flushed them whatever the guest's float mode said. target.float32DenormPreserve is set from shaderDenormPreserveFloat32 when denormBehaviorIndependence allows a 32-bit mode, is part of the cache key and of the request serialization (version 41), and makes the module declare DenormPreserve 32 unless the 32-bit flush is already taken in hardware. APS5_NO_HW_F32_PRESERVE=1 turns it off.