Sign in
dawn
/
tint
/
594e010cfb6716f8f02a3d1fc2bfc84bd3e4858c
/
.
/
test
/
ptr_ref
/
store
/
local
/
i32.wgsl
blob: 77578a7c2efd0908068521f3f214749da894de0f [
file
] [
log
] [
blame
]
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn main
()
{
var
i
:
i32
=
123
;
let
p
:
ptr
<
function
,
i32
>
=
&
i
;
*
p
=
123
;
// constant
*
p
=
100
+
20
+
3
;
// dynamic
}