Sign in
dawn
/
dawn
/
26e2ac363b28fa2e4a5480dc2c6fcfa26d4f10ff
/
.
/
test
/
tint
/
ptr_ref
/
store
/
param
/
ptr.spvasm.expected.wgsl
blob: 0a80e4bf6737ce4f9d30baebfe67c8dd0a62c149 [
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
;
}
@compute
@workgroup_size
(
1i
,
1i
,
1i
)
fn main
()
{
main_1
();
}