Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.24.0/tests/lit-tests/2272.ispc
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

10 lines
384 B
Plaintext

// RUN: %{ispc} --target=host --nowrap --nostdlib --debug-phase=first:first --emit-llvm-text %s -o - | FileCheck %s
// CHECK: [[TYPE:%.*]] = type { <[[WIDTH:[0-9]+]] x i8> }
// CHECK: [[VAL:%.*]] = insertvalue [[TYPE]] undef, <[[WIDTH]] x i8> [[BUF:%.*]], 0
struct Test { bool b; };
export void main_kernel(uniform const Test *uniform buffer) {
Test x = buffer[programIndex];
}