summaryrefslogtreecommitdiffstats
path: root/source/slang/compiler.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-07-23 19:52:14 -0700
committerTim Foley <tfoley@nvidia.com>2017-07-23 19:52:14 -0700
commite7241a921407ae79e0767956127f7ed501c5eeb1 (patch)
treebe9330c4519a33e76b93819e5676d1b0c137880b /source/slang/compiler.cpp
parent1d4633fe67d23767ca41fe71b90687df1ab5e402 (diff)
Fixup for the glslang bug workaround
There was a bug where the intialization expression for a variable was being lowered after the declaration was added to the output code, so that any sub-expressions that get hoisted out actually get computed *after* the original variable. This obviously led to downstream compilation failure. I've updated the test case to stress this scenario.
Diffstat (limited to 'source/slang/compiler.cpp')
0 files changed, 0 insertions, 0 deletions