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