Sign in
dawn
/
dawn
/
d205b716cac39c85255739ecae340637578537be
/
.
/
test
/
tint
/
expressions
/
type_conv
/
mat2x2
/
function
/
f32-f16.wgsl
blob: 4bf82de5ea137440170ed75c0331c465f99acce2 [
file
] [
log
] [
blame
]
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
());
}