Sign in
dawn
/
dawn
/
08f33fe5c6daea5cede4c1a5ac891fd3bf975c31
/
.
/
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
}