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