added support for assert

This commit is contained in:
Evghenii
2014-01-24 12:18:20 +01:00
parent 5a8351d7ea
commit 9090d8b128
5 changed files with 61 additions and 41 deletions

View File

@@ -26,9 +26,7 @@ export void f_fu(uniform float RET[], uniform float aFOO[], uniform float b) {
}
}
#ifndef __NVPTX__
assert(programIndex < 80);
#endif
RET[programIndex] = pts[programIndex].pts[programIndex % 3][programIndex % 4].z;
}