Sign in
dawn
/
dawn
/
63adfb2508dc9f3ed27296a0efdd74545b1bded3
/
.
/
test
/
tint
/
ptr_ref
/
load
/
param
/
private
/
struct_in_array.wgsl.expected.dxc.hlsl
blob: 077d5c3649c48ad746447a70240132171799e4ab [
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
()
{
const
str r
=
func
(
P
[
2
]);
return
;
}