Sign in
dawn
/
tint
/
6d60c046e80acbe10c002d4322e0a20a58b9a416
/
.
/
test
/
unittest
/
reader
/
spirv
/
SpvParserTest_VectorExtractDynamic_SignedIndex.spvasm.expected.wgsl
blob: 3ba0951c204c9c3e4e52bcb1069680fec987d3c2 [
file
] [
log
] [
blame
]
struct
S
{
field0
:
vec2
<f32>
;
field1
:
u32
;
field2
:
i32
;
};
fn main_1
()
{
let
x_1
:
vec2
<u32>
=
vec2
<u32>
(
3u
,
4u
);
let
x_2
:
i32
=
1
;
let
x_10
:
u32
=
x_1
[
x_2
];
return
;
}
[[
stage
(
compute
),
workgroup_size
(
1
,
1
,
1
)]]
fn main
()
{
main_1
();
}