]> git.tdb.fi Git - libs/gl.git/commit
Make variable renaming while inlining more robust
authorMikko Rasa <tdb@tdb.fi>
Sun, 14 Mar 2021 14:11:07 +0000 (16:11 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 14 Mar 2021 16:58:57 +0000 (18:58 +0200)
commit03880839dcd2c067061ac5491083159a9fd06611
treef09a7187cf9b3714859ca91374d1c466a5168d44
parentb89239e1d616f0c1d8e432b7df1eca149585cf5e
Make variable renaming while inlining more robust

It now prevents accidentally hiding global variables too.
source/glsl/optimize.cpp
source/glsl/optimize.h
source/glsl/syntax.cpp
tests/glsl/function_inline_global_name_conflict.glsl [new file with mode: 0644]