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