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

9 lines
205 B
Plaintext

#include "../test_static.isph"
task void f_v(uniform float RET[]) {
static const uniform float x = 1.;
RET[programIndex] = x+x;
}
task void result(uniform float RET[]) { RET[programIndex] = 2; }