summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-07-23 19:59:29 -0700
committerGitHub <noreply@github.com>2017-07-23 19:59:29 -0700
commit29fb1d781a763a8ca3369d03a75dbe1976571368 (patch)
treebe9330c4519a33e76b93819e5676d1b0c137880b /tests
parent1d4633fe67d23767ca41fe71b90687df1ab5e402 (diff)
parente7241a921407ae79e0767956127f7ed501c5eeb1 (diff)
Merge pull request #143 from tfoleyNV/fixup-for-glslang-bug-fixup
Fixup for the glslang bug workaround
Diffstat (limited to 'tests')
-rw-r--r--tests/rewriter/glslang-bug-988-workaround.frag6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/rewriter/glslang-bug-988-workaround.frag b/tests/rewriter/glslang-bug-988-workaround.frag
index 8c9692aed..578b49236 100644
--- a/tests/rewriter/glslang-bug-988-workaround.frag
+++ b/tests/rewriter/glslang-bug-988-workaround.frag
@@ -25,7 +25,8 @@ out vec4 result;
void main()
{
- result = doIt(foo);
+ vec4 r = doIt(foo);
+ result = r;
}
#else
@@ -52,7 +53,8 @@ out vec4 result;
void main()
{
Foo SLANG_tmp_0 = foo;
- result = doIt(SLANG_tmp_0);
+ vec4 r = doIt(SLANG_tmp_0);
+ result = r;
}
#endif