]> git.tdb.fi Git - libs/gl.git/commit
Prevent inlining of an expression that got something inlined into it
authorMikko Rasa <tdb@tdb.fi>
Sat, 16 Dec 2023 20:55:47 +0000 (22:55 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 16 Dec 2023 23:08:17 +0000 (01:08 +0200)
commit2a7662248f334dbd3300800018e1f0ec77991ffb
tree4329a674f5279799ea908d6b82212d65279bea06
parentb40593778d94dd801104861327841c9e48c17a18
Prevent inlining of an expression that got something inlined into it

It's causing some issues with converting the compiler to use unique_ptr.
This way variable names make more sense in some situations as well.
source/glsl/optimize.cpp
source/glsl/optimize.h
tests/glsl/generated_name_reuse.glsl