Sign in
dawn
/
dawn
/
ab0f7da790c91c8a46925f9d40c2443a94de59ee
/
.
/
test
/
tint
/
expressions
/
index
/
let
/
struct_nested_struct.wgsl.expected.msl
blob: 32db708db42697b7ccaac2a1528dd2355adcc1b1 [
file
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
T
{
float
o
;
uint
p
;
};
struct
S
{
int
m
;
T n
;
};
uint
f
()
{
S
const
a
=
S
{};
return
a
.
n
.
p
;
}
[[
max_total_threads_per_threadgroup
(
1
)]]
kernel
void
v
()
{
f
();
}