Initial commit.
This commit is contained in:
12
tests/bitnot.ispc
Normal file
12
tests/bitnot.ispc
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
export uniform int width() { return programCount; }
|
||||
|
||||
|
||||
export void f_v(uniform float RET[]) {
|
||||
unsigned int x = 0xffff0f0f;
|
||||
RET[programIndex] = ~x;
|
||||
}
|
||||
|
||||
export void result(uniform float RET[]) {
|
||||
RET[programIndex] = 0xf0f0;
|
||||
}
|
||||
Reference in New Issue
Block a user