Sign in
dawn
/
dawn
/
f3e7db0c4ed2fe144a7f682e029f48e1c9ccf3ca
/
.
/
test
/
tint
/
bug
/
tint
/
1641.wgsl
blob: 92b83db74dfb35e02fc1cab9a96a6efb1efd66d5 [
file
] [
log
] [
blame
]
struct
Normals
{
f
:
vec3
<f32>
,
}
const
faceNormals
=
array
<
Normals
,
1
>(
Normals
(
vec3
(
0
,
0
,
1
)),
);
@vertex
fn main
()
->
@builtin
(
position
)
vec4
<f32>
{
let
zero
=
0
;
return
vec4
(
faceNormals
[
zero
].
f
,
1.
);
}