Initial commit.
This commit is contained in:
9
tests/test-27.ispc
Normal file
9
tests/test-27.ispc
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
export uniform int width() { return programCount; }
|
||||
|
||||
|
||||
export void f_v(uniform float RET[]) { if (true) { RET[programIndex] = (5%3) * (4./8.) + 2.14159; } else RET[programIndex] = 1.; }
|
||||
|
||||
export void result(uniform float RET[]) {
|
||||
RET[programIndex] = 3.141590;
|
||||
}
|
||||
Reference in New Issue
Block a user