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