diff options
| author | Zephyron <zephyron@citron-emu.org> | 2024-12-31 22:54:55 +1000 |
|---|---|---|
| committer | Mike Lothian <mike@fireburn.co.uk> | 2025-05-11 12:17:03 +0100 |
| commit | 25b6629f66ef348f1e2e0ad2773780e07e0b6b95 (patch) | |
| tree | bb4cbb6b32b618ffc458f1650fec577db026f759 /src/video_core/buffer_cache/buffer_cache.cpp | |
| parent | 729c65618c5afdd53ffcf8e81443db6b4556647f (diff) | |
shader_recompiler: Use FPRecip in FSWZADD implementation
Simplifies the negative reciprocal calculation in FSWZADD by using the
dedicated FPRecip operation instead of manually constructing a division.
This change:
- Replaces FPDiv(Imm32(f32(1.0f)), src_b) with FPRecip(src_b)
- Results in more efficient code for calculating 1.0/x
- Fixes build errors from undefined IR emitter methods
Diffstat (limited to 'src/video_core/buffer_cache/buffer_cache.cpp')
0 files changed, 0 insertions, 0 deletions
