Sign in
dawn
/
dawn
/
2b3dcf45b75788786753b6abc1f902d2bb4d31c8
/
.
/
test
/
tint
/
shader_io
/
vertex_input_builtins.wgsl
blob: a73ae88b9e531483c548ed1edf3cca791ecc52b3 [
file
] [
log
] [
blame
]
@stage
(
vertex
)
fn main
(
@builtin
(
vertex_index
)
vertex_index
:
u32
,
@builtin
(
instance_index
)
instance_index
:
u32
,
)
->
@builtin
(
position
)
vec4
<f32>
{
let
foo
:
u32
=
vertex_index
+
instance_index
;
return
vec4
<f32>
();
}