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:
parent
05a62bf528
commit
548ec2c12c
4 changed files with 63 additions and 9 deletions
|
|
@ -51,7 +51,7 @@ void main()
|
|||
barrier(); // ERROR
|
||||
break;
|
||||
}
|
||||
|
||||
a < 12 ? a : (barrier(), a); // ERROR
|
||||
{
|
||||
barrier();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue