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