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