Add Test/spv.for-complex-condition.vert.
This commit is contained in:
parent
213bbbe4a7
commit
2ab5a373d9
3 changed files with 86 additions and 0 deletions
7
Test/spv.for-complex-condition.vert
Normal file
7
Test/spv.for-complex-condition.vert
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#version 450
|
||||
layout(location=0) out highp int r;
|
||||
layout(location=0) in lowp int flag;
|
||||
void main() {
|
||||
int i;
|
||||
for (i=0; i < (flag==1 ? 10 : 15) ; i++) { r = i; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue