Sign in
dawn
/
tint
/
b68e8aa65848dc17cf86dd61fed6d45bfb64d06e
/
.
/
test
/
ptr_ref
/
load
/
local
/
ptr_private.wgsl
blob: 0f59ad594644ba971e35fd58090e53c428290eae [
file
] [
log
] [
blame
]
var
<private>
i
:
i32
=
123
;
@stage
(
compute
)
@workgroup_size
(
1
)
fn main
()
{
let
p
:
ptr
<
private
,
i32
>
=
&
i
;
let
use
:
i32
=
*
p
+
1
;
}