diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-04-25 09:02:13 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-25 09:02:13 -0700 |
| commit | ed0681164d78591148781d08934676bfec63f9da (patch) | |
| tree | 432951144b1fea050b0c1f51670520c9ee64371e /examples/cpu-com-example | |
| parent | 366a947cdf2e3c6958b7a9e17d561ce76ab0f594 (diff) | |
Keep const-ness in generic functions (#4028)
* Keep const-ness in generic functions
Closes #3834
The issue was that "const" variables inside of generic functions became
non-const variables. This issue prevented some of GLSL texture
functions from being called inside of generic functions.
When `propagateConstExpr()` iterates the global functions, the generic
functions had to be handled little differently. This commit allows the
iteration to happen for the generic functions.
* Adding an explantion of the test as a comment
Diffstat (limited to 'examples/cpu-com-example')
0 files changed, 0 insertions, 0 deletions
