blob: c37c301c12ff57db3497d7ff524a24384c5742d9 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
float3x3 tint_workgroupUniformLoad(threadgroup float3x3* const p) {
threadgroup_barrier(mem_flags::mem_threadgroup);
float3x3 const result = *(p);
threadgroup_barrier(mem_flags::mem_threadgroup);
return result;
}
float3x3 foo(threadgroup float3x3* const tint_symbol) {
return tint_workgroupUniformLoad(tint_symbol);
}