Sign in
dawn
/
dawn
/
95cd216962b6d70e233b725f70f2a1bac8d112c1
/
.
/
test
/
tint
/
bug
/
tint
/
1653.wgsl.expected.wgsl
blob: 19056be0edb5cdd2ba95f22d09ab6158665b962e [
file
] [
log
] [
blame
]
const
TRI_VERTICES
=
array
(
vec4
(
0.0
,
0.0
,
0.0
,
1.0
),
vec4
(
0.0
,
1.0
,
0.0
,
1.0
),
vec4
(
1.0
,
1.0
,
0.0
,
1.0
));
@vertex
fn vs_main
(
@builtin
(
vertex_index
)
in_vertex_index
:
u32
)
->
@builtin
(
position
)
vec4
<f32>
{
return
TRI_VERTICES
[
in_vertex_index
];
}