Sign in
dawn
/
tint
/
594e010cfb6716f8f02a3d1fc2bfc84bd3e4858c
/
.
/
test
/
ptr_ref
/
store
/
param
/
ptr.spvasm.expected.wgsl
blob: 30fdea10355755903442e89293f664a8b96542b9 [
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
();
}