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