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