dawn-cmake/test/tint/out_of_order_decls/func/var.wgsl.expected.msl

15 lines
250 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct tint_private_vars_struct {
int a;
};
fragment void f() {
thread tint_private_vars_struct tint_private_vars = {};
tint_private_vars.a = 1;
int const b = tint_private_vars.a;
return;
}