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