]> git.tdb.fi Git - libs/gl.git/commit
Fix the return value of ConstantFolder::apply
authorMikko Rasa <tdb@tdb.fi>
Thu, 22 Apr 2021 10:50:11 +0000 (13:50 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 22 Apr 2021 10:50:11 +0000 (13:50 +0300)
commit8bf70f4d445cf63386ad7aafc5b3ebdbd8369939
tree70ee92519bb7bd546e2ea7d1a5ba0ed174d5198a
parent83186c4a01ada8bfb0199c4396c0aaa64631577f
Fix the return value of ConstantFolder::apply

This was causing the folded literals to be left without a type in some
specific situations, since a resolve pass did not get run.
source/glsl/optimize.cpp