Sign in
dawn
/
dawn
/
074e17e34a1b0d0c46408458ad46bbaa402216ce
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
function
/
struct_in_array.wgsl.expected.ir.fxc.hlsl
blob: 7c983a6025dfd32fe03fe6c149104bae48d123e8 [
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
[
int
(
2
)]);
}