No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!566
Loading…
Reference in a new issue
No description provided.
Delete branch "lichii-433-dynamic-ptp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two small fixes ported from zortos293/Lichii; Hookshot's copies of both files matched Lichii's pre-fix code, so they apply as is.
Dynamic PTP gathers (Lichii c11ea2f0d, PR 433, originally Duck912 1e02498099)
A TLD4.PTP whose offsets the IR can't fold to constants was emitted as a plain gather ("Not all arguments in PTP are immediate, ignoring"), so all four taps read at the coordinate instead of at their own offsets. Such gathers now issue one gather per tap with its runtime Offset and keep its i0,j0 texel (w). Constant-offset and sparse gathers are unchanged.
File: backend/spirv/emit_spirv_image.cpp
TXD gradients and ATOMG data as register fields (Lichii 33acb0e1a, PR 588)
A native TXD whose gradients (bits 32-39) or an ATOMG whose data operand (bits 32-39) sits in a reserved high GPR read the plain register, because bit 32 counted as a register field only for the listed opcodes. 0xb6c and 0x9a8 are added to that list.
File: frontend/ampere/lower_to_maxwell.h
Testing: built with HookshotBuilder (no-visual-studio release) and played Kokiri Forest / Lost Woods for a few sessions on an RTX 3080 Laptop (Vulkan 1.4). No regressions seen. I haven't isolated a scene where either fix makes a visible difference yet.