Sign in
dawn
/
dawn
/
b478f9797550c0aa5d880b6418ef52e7f8eb138c
/
.
/
test
/
shader_io
/
vertex_input_builtins.wgsl.expected.wgsl
blob: ef2f3ac6bf36f54171d62f45e420ccbfb731a2ca [
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>
();
}