Sign in
dawn
/
dawn
/
f0e6f57959bfe84d17ec529e2a99e9d625315b6d
/
.
/
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
;
}