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