Sign in
dawn
/
dawn
/
HEAD
/
.
/
test
/
tint
/
expressions
/
index
/
let
/
struct_with_matrix.wgsl.expected.msl
blob: 268076ff553b39e6f9283cc2ded21bfdbc855300 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
int
m
;
float4x4 n
;
};
float
f
()
{
S
const
a
=
S
{};
return
a
.
n
[
2u
].
y
;
}
[[
max_total_threads_per_threadgroup
(
1
)]]
kernel
void
v
()
{
f
();
}