Sign in
dawn
/
dawn
/
2c1a3d94a8b2d64c04add2cdb5dba04f6e92678e
/
.
/
test
/
tint
/
expressions
/
type_conv
/
vec2
/
function
/
f16-i32.wgsl
blob: c7fc62f87303d6366b2abf0fac3f98fcc1da43ff [
file
] [
log
] [
blame
]
// flags: --hlsl_shader_model 62
enable f16
;
var
<private>
t
:
f16
;
fn m
()
->
vec2
<f16>
{
t
=
1.0h
;
return
vec2
<f16>
(
t
);
}
fn f
()
{
var
v
:
vec2
<i32>
=
vec2
<i32>
(
m
());
}