ci: update glslang to 8.13.3743
This commit is contained in:
@@ -6,8 +6,8 @@ CACHEDIR="$HOME/.cache/runelite"
|
||||
mkdir -p "${CACHEDIR}"
|
||||
GLSLANG_ARCHIVE="${CACHEDIR}/glslang.zip"
|
||||
GLSLANG_DIR="${CACHEDIR}/glslang"
|
||||
GLSLANG_RELEASE='https://github.com/KhronosGroup/glslang/releases/download/8.13.3559/glslang-master-linux-Release.zip'
|
||||
GLSLANG_CHECKSUM='9adcfdef5b52275e61068aafbb62747936c6c18ab6dc32a6ef707cfc7b0df423'
|
||||
GLSLANG_RELEASE='https://github.com/KhronosGroup/glslang/releases/download/8.13.3743/glslang-master-linux-Release.zip'
|
||||
GLSLANG_CHECKSUM='d02b22d35ba7bc786a115fbc90ff2caef7f1cd99d87ab053e3dba8efda5b405a'
|
||||
|
||||
if [ ! -f "${GLSLANG_ARCHIVE}" ] || [ ! -d "${GLSLANG_DIR}" ] || ! echo "${GLSLANG_CHECKSUM} ${GLSLANG_ARCHIVE}" | sha256sum -c -; then
|
||||
wget -O "${GLSLANG_ARCHIVE}" "${GLSLANG_RELEASE}"
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user