Include ?: in the tests for flow control.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29348 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2015-01-07 06:36:55 +00:00
parent 05a62bf528
commit 548ec2c12c
4 changed files with 63 additions and 9 deletions

View File

@@ -51,7 +51,7 @@ void main()
barrier(); // ERROR
break;
}
a < 12 ? a : (barrier(), a); // ERROR
{
barrier();
}