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