Sign in
dawn
/
tint
/
671d9703f0c1f42560c8d28b7b555f39edc89d87
/
.
/
test
/
expressions
/
splat
/
var
/
f32.wgsl
blob: 764543333600ad936c7a61109910c5586a18e713 [
file
] [
log
] [
blame
]
Ben Clayton
595b054
2021-07-18 15:41:25 +0000
[
diff
] [
blame
]
1
fn f
()
{
2
var
v
=
1.0
+
2.0
;
3
var
v2
:
vec2
<f32>
=
vec2
<f32>
(
v
);
4
var
v3
:
vec3
<f32>
=
vec3
<f32>
(
v
);
5
var
v4
:
vec4
<f32>
=
vec4
<f32>
(
v
);
6
}