]> git.tdb.fi Git - libs/gl.git/commit
Adjust naming of generated variables
authorMikko Rasa <tdb@tdb.fi>
Tue, 16 Mar 2021 17:06:37 +0000 (19:06 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 16 Mar 2021 17:06:37 +0000 (19:06 +0200)
commit22d5405729048ee2677a1e45e309e6328de64a26
tree1f2b9eea65fd407e2943a970bb2361c8c5b9b9e4
parent6142f469eb17c06a432fde663c36a0567985d986
Adjust naming of generated variables

Using the inlined function name as a prefix easily produces inconsistent
results, so better to just use numbers after the name.
source/glsl/generate.cpp
source/glsl/optimize.cpp
source/glsl/optimize.h
source/glsl/syntax.cpp
source/glsl/syntax.h
tests/glsl/function_inline_global_name_conflict.glsl
tests/glsl/function_inline_multi_name_conflict.glsl
tests/glsl/function_inline_name_conflict.glsl
tests/glsl/function_inline_return_conflict.glsl
tests/glsl/function_overloading.glsl