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