Sign in
dawn
/
dawn
/
39ccba3f34b81672e464c50bd26ea47ba2798bbf
/
.
/
test
/
tint
/
expressions
/
binary
/
sub
/
vec3-scalar
/
f16.wgsl.expected.msl
blob: f136b52fd83fdd776f809cab025cb90ac81d51cd [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
half3
const
a
=
half3
(
1.0h
,
2.0h
,
3.0h
);
half
const
b
=
4.0h
;
half3
const
r
=
(
a
-
b
);
return
;
}