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