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