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