Sign in
dawn
/
tint
/
6d770093bdf1513ab57bd56c2e00c9b572d16304
/
.
/
test
/
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
;
}