diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-10-16 12:41:46 -0700 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2021-11-17 20:04:34 -0800 |
| commit | ee80298ca4b4fb810b02334508e11c5405aa77d2 (patch) | |
| tree | 5fc9646b654447b8411895f397e1a5a852589386 /Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp | |
| parent | b9288212a018bfac1bf2239c4dd778ad74bff186 (diff) | |
VideoCommon: Implement diagonal LOD
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).
Diffstat (limited to 'Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp')
0 files changed, 0 insertions, 0 deletions
