]> git.tdb.fi Git - libs/gl.git/commit
Use a temporary staging block in InlineContentInjector
authorMikko Rasa <tdb@tdb.fi>
Tue, 16 Mar 2021 11:08:27 +0000 (13:08 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 16 Mar 2021 15:48:53 +0000 (17:48 +0200)
commitd5c38c181cac4da490c96123e5a88a8c06785e55
tree4db6fe6e301939b0dc41d1a4aa339435418b8703
parent6592dca643d9ac5b99d6a43cae30554ac1e4df62
Use a temporary staging block in InlineContentInjector

This allows the return variable name generation to avoid other names from
the source function, such as a return variable from previous inlining.
source/glsl/optimize.cpp
source/glsl/optimize.h
tests/glsl/function_inline_return_conflict.glsl [new file with mode: 0644]