diff options
| author | rdenno <rhysdenno@gmail.com> | 2026-11-02 08:07:36 -0500 |
|---|---|---|
| committer | rdenno <rhysdenno@gmail.com> | 2026-11-02 08:46:35 -0500 |
| commit | 8b8d0fc85f1267dc93d069c5a331c4f24ac3a835 (patch) | |
| tree | c22ccd4be329c83c1b6d909af9707c9540f0ba79 /src/video_core/host1x/codecs/codec.cpp | |
| parent | 9e368c29181cfa0ce23cf61c9b5b654917842dd0 (diff) | |
shader: lower TLD and TLD4 with half-precision results
TLD.SCR and TLD4 with .F16 (bit 79) return their components packed in
pairs: components 0 and 1 in Rd, 2 and 3 in the second destination.
The lowering rejected them ("native texel fetch mode", "native texture
gather mode"), so the compute programs using them never ran.
In Hyrule Warriors: Age of Imprisonment these are compute programs
that run once gameplay starts, and gameplay stayed black (the pause
menu, drawn another way, showed the scene).
Lower the F32 form into R248/R249 and R246/R247, then pack each pair
the way F2FP.PACK_AB is lowered.
Assisted-by: Claude Opus 5.5 (diagnosis, fix and testing)
Diffstat (limited to 'src/video_core/host1x/codecs/codec.cpp')
0 files changed, 0 insertions, 0 deletions
