Update glslang using temporary branch, fix LtRtProcessing

This commit is contained in:
Phillip Stephens 2020-04-22 03:34:11 -07:00
parent 7acefc6c60
commit 1235cc720d
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
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

@ -1 +1 @@
Subproject commit 9f46e3dd5e11febbfbed971e74e10ed638e6578d
Subproject commit a727ad7335b060aac29f942a9e11f9e694bf5e83

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;