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