Sign in
dawn
/
dawn
/
55ceebec1e92b73401bb6da5f9c813dee6a9266f
/
.
/
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>
();
}