Sign in
dawn
/
dawn
/
e7099d4f3bb22e23e975099fb1d1314f76cd6227
/
.
/
test
/
tint
/
ptr_ref
/
store
/
local
/
i32.wgsl
blob: ea390b9171daa965e202cd5a4f713ab10bf8f35b [
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
}