Sign in
dawn
/
dawn
/
4cd8452c3caf5e21868a284aac15e7afee7606b5
/
.
/
test
/
tint
/
shader_io
/
vertex_input_builtins.wgsl
blob: 8043581b619f1ff3d382459eca62d5d0f439f77b [
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>
();
}