Sign in
dawn
/
dawn
/
76b189f5a952978bf5a4158b10786beb8ab63ea1
/
.
/
test
/
tint
/
shader_io
/
vertex_input_builtins.wgsl.expected.wgsl
blob: 9955c16160550913a065bab837b84433477c6470 [
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>
();
}