19 lines
411 B
Plaintext
19 lines
411 B
Plaintext
#include "../test_static.isph"
|
|
void foo(uniform float * uniform * ret) {
|
|
#pragma ignore warning(perf)
|
|
uniform float *px = *ret;
|
|
++px;
|
|
#pragma ignore warning
|
|
*ret = px;
|
|
}
|
|
|
|
task void f_f(uniform float RET[], uniform float aFOO[]) {
|
|
uniform float * uniform ptr = &aFOO[0];
|
|
foo(&ptr);
|
|
RET[programIndex] = *ptr;
|
|
}
|
|
|
|
task void result(uniform float RET[]) {
|
|
RET[programIndex] = 2;
|
|
}
|