mirror of
https://github.com/libretro/glsl-shaders.git
synced 2024-11-23 07:40:29 +00:00
fix ewa_curvature on nvidia
Nvidia's compiler was the picky one for once.
This commit is contained in:
parent
895b325026
commit
0a951b97eb
@ -279,7 +279,7 @@ vec2 textureQueryLODEWA(sampler2D tex, vec2 du, vec2 dv, int psize){
|
||||
}
|
||||
|
||||
float lod = log2(minorLength / TEXELS_PER_PIXEL);
|
||||
lod = clamp (lod, 0.0, log2(psize));
|
||||
lod = clamp (lod, 0.0, log2(float(psize)));
|
||||
|
||||
return vec2(lod, e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user