Files
2025-05-18 13:04:45 +08:00

10 lines
322 B
Plaintext

#include "../test_static.isph"
task void f_f(uniform float RET[], uniform float aFOO[]) {
float a = aFOO[programIndex];
uniform int x = (170 >> 4) % 5;
const static uniform int y = (170 >> 4) % 5;
RET[programIndex] = (x == y) ? 1. : 0.;
}
task void result(uniform float RET[]) { RET[programIndex] = 1.; }