Sign in
dawn
/
dawn
/
55be62690cbc0e466e875c7eeea00afa62bccfaa
/
.
/
test
/
tint
/
ptr_ref
/
store
/
param
/
storage
/
vec2_f32_in_mat2x2.wgsl
blob: 8a679783c0838d953b0bde00522ab2c962518b9a [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
S
:
mat2x2
<f32>
;
fn func
(
pointer
:
ptr
<
storage
,
vec2
<f32>
,
read_write
>)
{
*
pointer
=
vec2
<f32>
();
}
@compute
@workgroup_size
(
1
)
fn main
()
{
func
(&
S
[
1
]);
}