Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.16.1/tests/const-fold-const-sym-3.ispc
2025-05-18 13:04:45 +08:00

9 lines
175 B
Plaintext

static const uniform float x = 1.;
export void f_v(uniform float RET[]) {
RET[programIndex] = x+x;
}
export void result(uniform float RET[]) { RET[programIndex] = 2; }