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