Sign in
dawn
/
dawn
/
2a7005f4161fe3088544faa6557aaaa85a9cbf77
/
.
/
test
/
tint
/
buffer
/
uniform
/
std140
/
unnested
/
mat4x4_f32
/
to_workgroup.wgsl
blob: b629c9e26c8edea21d0c1348ab81e2adce4e61e1 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<uniform>
u
:
mat4x4
<f32>
;
var
<workgroup>
w
:
mat4x4
<f32>
;
@compute
@workgroup_size
(
1
)
fn f
()
{
w
=
u
;
w
[
1
]
=
u
[
0
];
w
[
1
]
=
u
[
0
].
ywxz
;
w
[
0
][
1
]
=
u
[
1
][
0
];
}