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