Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
private
/
struct_in_array.wgsl.expected.dxc.hlsl
blob: 822323d0a7b5b7a4744f63174299dbfc91149d3f [
file
] [
log
] [
blame
]
struct
str
{
int
i
;
};
str func
(
inout str pointer
)
{
return
pointer
;
}
static
str P
[
4
]
=
(
str
[
4
])
0
;
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
str r
=
func
(
P
[
2
]);
return
;
}