Sign in
dawn
/
dawn
/
refs/heads/chromium/5521
/
.
/
test
/
tint
/
expressions
/
type_conv
/
mat4x2
/
function
/
f16-f32.wgsl
blob: d7c7ddae0382219309446fc223ac811cd45812f1 [
file
] [
log
] [
blame
] [
edit
]
enable f16
;
var
<private>
t
:
f16
;
fn m
()
->
mat4x2
<f16>
{
t
=
t
+
1.0h
;
return
mat4x2
<f16>
(
1.0h
,
2.0h
,
3.0h
,
4.0h
,
5.0h
,
6.0h
,
7.0h
,
8.0h
);
}
fn f
()
{
var
v
:
mat4x2
<f32>
=
mat4x2
<f32>
(
m
());
}