Sign in
dawn
/
dawn.git
/
refs/heads/main
/
.
/
test
/
tint
/
expressions
/
binary
/
mod
/
vec3-vec3
/
f16.wgsl.expected.msl
blob: 495a720e60995c290d28f47877a905c9c3584680 [
file
] [
log
] [
blame
] [
edit
]
#include
<metal_stdlib>
using
namespace
metal
;
[[
max_total_threads_per_threadgroup
(
1
)]]
kernel
void
f
()
{
half3
const
a
=
half3
(
1.0h
,
2.0h
,
3.0h
);
half3
const
b
=
half3
(
4.0h
,
5.0h
,
6.0h
);
half3
const
r
=
fmod
(
a
,
b
);
}