Sign in
dawn
/
tint
/
1e19b55d191b7d61254e6d3a73514bfc8cf2f4b7
/
.
/
test
/
ptr_ref
/
store
/
param
/
ptr.spvasm.expected.wgsl
blob: d56ff4cbfe6357b289068c83b1530499791a8352 [
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
)]]
fn main
()
{
main_1
();
}