Sign in
dawn
/
dawn
/
8f1d276a3780e023f44b54385255479b4a7e3be7
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
private
/
struct_in_array.wgsl.expected.ir.fxc.hlsl
blob: 75ea3ea13dd0601205189e2fb66191545031e2a2 [
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
[
2
]);
}