Sign in
dawn
/
tint
/
d4d7153bade9192728a647467375d208eefec273
/
.
/
test
/
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
}