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