mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-18 20:15:56 +00:00
AMD and Intel round a gather coordinate that sits between two texels the other way from Maxwell, so shadow-map filtering picked the neighbouring texel and drew dark dashes along wall and floor edges that moved with the camera (docs/maxwell.md 2.10; BotW had the same on AMD). vk_caps.c passes the device's subTexelPrecisionBits to the translator for every non-NVIDIA GPU, the job carries it as gather_bias, and totk_xlate answers QueryHostGatherBiasPrecision with it, which turns on Ryujinx's own coordinate bias (TexturePass.InsertCoordGatherBias). The answer joins the translator identity, so those shaders get their own cache keys. TOTK_GATHER_BIAS=0 turns it off.