ci: update glslang to 8.13.3743

This commit is contained in:
Adam
2020-11-06 15:48:48 -05:00
parent 26edf447c8
commit 79286202e6
2 changed files with 3 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ void main()
float nearestEdgeDistance = min(xDist, zDist);
float secondNearestEdgeDistance = max(xDist, zDist);
float fogDistance = nearestEdgeDistance - FOG_CORNER_ROUNDING * TILE_SIZE *
max(0, (nearestEdgeDistance + FOG_CORNER_ROUNDING_SQUARED) /
max(0.f, (nearestEdgeDistance + FOG_CORNER_ROUNDING_SQUARED) /
(secondNearestEdgeDistance + FOG_CORNER_ROUNDING_SQUARED));
fogAmount = fogFactorLinear(fogDistance, 0, fogDepth * TILE_SIZE) * useFog;