Sign in
dawn
/
tint
/
ba1a8f8d05e97687fb3a3fd1d1c250af7af6d22b
/
.
/
test
/
expressions
/
binary
/
add
/
vec3-scalar
/
f32.wgsl.expected.msl
blob: e1560631f904fb3bfab51ee6267e7616d59e15b5 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
float3
const
a
=
float3
(
1.0f
,
2.0f
,
3.0f
);
float
const
b
=
4.0f
;
float3
const
r
=
(
a
+
b
);
return
;
}