Move some tests that now pass with LLVM 3.0 from failing_tests to tests/
This commit is contained in:
10
tests/max-uint.ispc
Normal file
10
tests/max-uint.ispc
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
export uniform int width() { return programCount; }
|
||||
|
||||
export void f_f(uniform float result[], uniform float aa[]) {
|
||||
unsigned int i = (unsigned int)aa[programIndex];
|
||||
result[programIndex] = max((unsigned int)100, i);
|
||||
}
|
||||
|
||||
export void result(uniform float r[]) { r[programIndex] = 100; }
|
||||
|
||||
Reference in New Issue
Block a user