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