Initial commit.
This commit is contained in:
11
tests/test-58.ispc
Normal file
11
tests/test-58.ispc
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
export uniform int width() { return programCount; }
|
||||
|
||||
|
||||
float bar(float x);
|
||||
export void f_v(uniform float RET[]) { RET[programIndex] = bar(3.); }
|
||||
float bar(float x) { return 2. * x; }
|
||||
|
||||
export void result(uniform float RET[]) {
|
||||
RET[programIndex] = 6.000000;
|
||||
}
|
||||
Reference in New Issue
Block a user