Sign in
dawn
/
dawn
/
74080eca21c1c8089560ce5e282bb37ebd52447d
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
private
/
i32.wgsl.expected.wgsl
blob: f049dceda72adcb71b0e5cbe758040b2c39f6a81 [
file
] [
log
] [
blame
]
fn func
(
pointer
:
ptr
<
private
,
i32
>)
->
i32
{
return
*(
pointer
);
}
var
<private>
P
:
i32
;
@compute
@workgroup_size
(
1
)
fn main
()
{
let
r
=
func
(&(
P
));
}