Sign in
dawn
/
dawn
/
f42d92a1d509c50127cc12c59d1f9218617093b6
/
.
/
test
/
tint
/
shader_io
/
vertex_input_builtins.wgsl
blob: 8043581b619f1ff3d382459eca62d5d0f439f77b [
file
] [
log
] [
blame
]
@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>
();
}