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