Sign in
dawn
/
dawn
/
28674d7c505e3737b04e4dfb239e58d01b450637
/
.
/
test
/
tint
/
statements
/
assign
/
indexed_assign_to_array_in_struct
/
struct_vector.wgsl.expected.wgsl
blob: 13a4ebc5dedba85c8b5927ceb420cca08b8f7e1f [
file
] [
log
] [
blame
]
struct
Uniforms
{
i
:
u32
,
}
struct
OuterS
{
v1
:
vec3
<f32>
,
}
@group
(
1
)
@binding
(
4
)
var
<uniform>
uniforms
:
Uniforms
;
@stage
(
compute
)
@workgroup_size
(
1
)
fn main
()
{
var
s1
:
OuterS
;
s1
.
v1
[
uniforms
.
i
]
=
1.0
;
}