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

16 lines
292 B
Plaintext

// RUN: not %{ispc} --target=host --nostdlib --nowrap -o - --emit-llvm-text %s 2>&1 | FileCheck %s
// CHECK-NOT: Error: Assertion failed
export struct Matrix {
float e[16];
};
export void Test(
uniform Matrix const m[],
int i)
{
m[i] * 1.f +
m[i] * 1.f +
m[i];
}