dawn-cmake/test/tint/out_of_order_decls/array/alias.wgsl.expected.msl

14 lines
199 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct tint_array_wrapper {
int arr[4];
};
fragment void f() {
thread tint_array_wrapper tint_symbol = {};
tint_symbol.arr[0] = 1;
return;
}