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