Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.21.0/tests/lit-tests/1711.ispc
2025-05-18 13:04:45 +08:00

5 lines
177 B
Plaintext

// RUN: %{ispc} --target=host %s > %t 2>&1
inline float foo(const float<3> &v) { return v.x + v.y + v.z; }
inline float<3> bar(const float<3> &v) { return 2.0f * v * foo(v); }