Sign in
dawn
/
dawn
/
eee9f88ba21b182d7eb23bbc85af17f69185e34a
/
.
/
test
/
tint
/
ptr_ref
/
store
/
param
/
ptr.spvasm.expected.wgsl
blob: 1ecd3293e5cf908fa62d187b085896d6966db22c [
file
] [
log
] [
blame
]
fn func
(
value
:
i32
,
pointer
:
ptr
<
function
,
i32
>)
{
*(
pointer
)
=
value
;
return
;
}
fn main_1
()
{
var
i
:
i32
=
0i
;
i
=
123i
;
func
(
123i
,
&(
i
));
return
;
}
@stage
(
compute
)
@workgroup_size
(
1i
,
1i
,
1i
)
fn main
()
{
main_1
();
}