Sign in
dawn
/
dawn
/
efda280eda8096c31cb7fbc7a5b895773559a8bb
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
struct_in_array.wgsl.expected.dxc.hlsl
blob: c166cc223e9fe4bb454f58d755183fcd8aae8533 [
file
] [
log
] [
blame
]
struct
str
{
int
i
;
};
str func
(
inout str pointer
)
{
return
pointer
;
}
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
str F
[
4
]
=
(
str
[
4
])
0
;
const
str r
=
func
(
F
[
2
]);
return
;
}