Add test that was supposed to go with 080241b7d1

This commit is contained in:
Matt Pharr
2012-07-09 08:21:15 -07:00
parent fb8b893b10
commit 950a989744

12
tests/int64-constant.ispc Normal file
View File

@@ -0,0 +1,12 @@
export uniform int width() { return programCount; }
export void f_f(uniform float RET[], uniform float aFOO[]) {
int64 v = 0xffffffff;
RET[programIndex] = (v == 0xffffffffll) ? 1 : 0;
}
export void result(uniform float RET[]) {
RET[programIndex] = 1;
}