Sign in
dawn
/
dawn
/
01bd3aa73e60dd8b7d532580866f6e8b26b37b50
/
.
/
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
());
}