Test a for loop with no body.
Change-Id: I5b53cc008349afad94b14500506fcab4d6e64d2e
This commit is contained in:
parent
e537b8b488
commit
13228243b2
2 changed files with 66 additions and 0 deletions
7
Test/spv.for-nobody.vert
Normal file
7
Test/spv.for-nobody.vert
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#version 450
|
||||
layout(location=0) out highp int r;
|
||||
void main() {
|
||||
int i;
|
||||
for (i=0; i<10; i++);
|
||||
r = i;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue