Sign in
dawn
/
dawn
/
dec01f1fd5d9a35925c1af49296b9dacad1c7145
/
.
/
test
/
tint
/
bug
/
tint
/
1653.wgsl
blob: 5b769642876532f479494add14213bde5c38e07e [
file
] [
log
] [
blame
]
const
TRI_VERTICES
=
array
(
vec4
(
0.
,
0.
,
0.
,
1.
),
vec4
(
0.
,
1.
,
0.
,
1.
),
vec4
(
1.
,
1.
,
0.
,
1.
),
);
@vertex
fn vs_main
(
@builtin
(
vertex_index
)
in_vertex_index
:
u32
)
->
@builtin
(
position
)
vec4
<f32>
{
return
TRI_VERTICES
[
in_vertex_index
];
}