Sign in
dawn
/
tint
/
d1efb5d48cae18c4f051eb1a8bea0a59e13c9761
/
.
/
test
/
shader_io
/
vertex_input_builtins.wgsl
blob: 6d207b50aef79a850413b1b8c001426299dfd551 [
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>
();
}