Sign in
dawn
/
dawn
/
32363954436092f4d0c5f2c8dd5f1fa8f2ff00af
/
.
/
test
/
tint
/
ptr_ref
/
store
/
param
/
storage
/
i32.wgsl.expected.wgsl
blob: 531ab7b44b28909dd3b3b86a35445c62a5b367ed [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
S
:
i32
;
fn func
(
pointer
:
ptr
<
storage
,
i32
,
read_write
>)
{
*(
pointer
)
=
42
;
}
@compute
@workgroup_size
(
1
)
fn main
()
{
func
(&(
S
));
}