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