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