mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-15 13:01:04 -04:00
Note that both GLSL and HLSL provide a fwidth (fragment width) function defined as `fwidth(p) = abs(dFdx(p)) + abs(dFdy(p))`. However, it's easy enough to implement this ourselves (and it makes the code a bit more obvious).