Sign in
dawn
/
dawn
/
8527c135e2d9aade0ea08374f6da72aeba49aa45
/
.
/
test
/
tint
/
out_of_order_decls
/
func
/
var.wgsl.expected.msl
blob: 4ba3f021c8e3f2a615ff0e002cd29b06d4454cc5 [
file
] [
log
] [
blame
]
#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
;
}