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