Initial commit.
This commit is contained in:
16
tests/test-80.ispc
Normal file
16
tests/test-80.ispc
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
export uniform int width() { return programCount; }
|
||||
|
||||
|
||||
export void f_v(uniform float RET[]) {
|
||||
int i=0, j=0;
|
||||
while (i++ < 10) {
|
||||
++j;
|
||||
if (i >= 5) continue;
|
||||
++j;}
|
||||
RET[programIndex] = (float)j;
|
||||
}
|
||||
|
||||
export void result(uniform float RET[]) {
|
||||
RET[programIndex] = 14.000000;
|
||||
}
|
||||
Reference in New Issue
Block a user