Update glslang using temporary branch, fix LtRtProcessing

This commit is contained in:
2020-04-22 03:34:11 -07:00
parent 7acefc6c60
commit 1235cc720d
3 changed files with 4 additions and 3 deletions

3
.gitmodules vendored
View File

@@ -1,6 +1,7 @@
[submodule "glslang"]
path = glslang
url = https://github.com/KhronosGroup/glslang.git
url = https://github.com/Antidote/glslang.git
branch = const-operators
[submodule "logvisor"]
path = logvisor
url = ../logvisor.git

Submodule glslang updated: 9f46e3dd5e...a727ad7335

View File

@@ -18,7 +18,7 @@ constexpr T ClampFull(float in) {
if (in < MIN)
return MIN;
else if (in > MAX)
else if (in > static_cast<float>(MAX))
return MAX;
else
return in;