Sign in
dawn
/
dawn
/
f3593952882dddfecb2d06210f8cc1eb67b952d2
/
.
/
test
/
tint
/
layout
/
storage
/
mat2x2
/
f32.wgsl.expected.msl
blob: 71886779cfcdb4fc1142de2f8b2c94406ba8f0d5 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
SSBO
{
/* 0x0000 */
float2x2 m
;
};
kernel
void
f
(
device SSBO
*
tint_symbol
[[
buffer
(
0
)]])
{
float2x2
const
v
=
(*(
tint_symbol
)).
m
;
(*(
tint_symbol
)).
m
=
v
;
return
;
}