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