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