Sign in
dawn
/
tint
/
refs/heads/chromium/4830
/
.
/
test
/
ptr_ref
/
store
/
local
/
i32.wgsl
blob: 77578a7c2efd0908068521f3f214749da894de0f [
file
] [
log
] [
blame
] [
edit
]
[[
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
}