Sign in
dawn
/
dawn
/
a0c34124d114f7a6f11b3e8bce4d1acb402e3467
/
.
/
test
/
tint
/
expressions
/
type_conv
/
mat3x3
/
function
/
f32-f16.wgsl
blob: b0a0a1dd75a68724516726de6d1322d6ebba74b6 [
file
] [
log
] [
blame
]
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
());
}