Sign in
dawn
/
dawn
/
32363954436092f4d0c5f2c8dd5f1fa8f2ff00af
/
.
/
test
/
tint
/
var
/
uses
/
push_constant_and_instance_index.wgsl.expected.wgsl
blob: 3b1e555f10663529f3264024014f95c1c126e97c [
file
] [
log
] [
blame
]
enable chromium_experimental_push_constant
;
var
<push_constant>
a
:
f32
;
@vertex
fn main
(
@builtin
(
instance_index
)
b
:
u32
)
->
@builtin
(
position
)
vec4
<f32>
{
return
vec4
<f32>
((
a
+
f32
(
b
)));
}