19 lines
452 B
Plaintext
19 lines
452 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
struct tint_array_wrapper {
|
|
int arr[3];
|
|
};
|
|
|
|
kernel void tint_symbol(uint local_invocation_index [[thread_index_in_threadgroup]]) {
|
|
threadgroup tint_array_wrapper tint_symbol_3;
|
|
if ((local_invocation_index == 0u)) {
|
|
tint_array_wrapper const tint_symbol_2 = {.arr={}};
|
|
tint_symbol_3 = tint_symbol_2;
|
|
}
|
|
threadgroup_barrier(mem_flags::mem_threadgroup);
|
|
(void) tint_symbol_3;
|
|
return;
|
|
}
|
|
|