Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.16.1/tests/static-global-assign.ispc
2025-05-18 13:04:45 +08:00

14 lines
270 B
Plaintext

static uniform float x = 2;
export void f_fu(uniform float ret[], uniform float aa[], uniform float b) {
float a = aa[programIndex];
if (b > 0)
x = 0;
ret[programIndex] = x;
}
export void result(uniform float ret[]) {
ret[programIndex] = 0;
}