Initial commit.
This commit is contained in:
17
tests/test-125.ispc
Normal file
17
tests/test-125.ispc
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
export uniform int width() { return programCount; }
|
||||
|
||||
|
||||
export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
|
||||
float a = aFOO[programIndex];
|
||||
if (a < 3)
|
||||
if (all(a < 3))
|
||||
RET[programIndex] = 1;
|
||||
else RET[programIndex] = 0;
|
||||
}
|
||||
|
||||
|
||||
export void result(uniform float RET[]) {
|
||||
RET[programIndex] = 0;
|
||||
RET[0] = RET[1] = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user