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