Sign in
dawn
/
tint
/
ce982d8a06926f1af07fda17ed635a87eb38bd5c
/
.
/
test
/
expressions
/
binary
/
mod_by_zero
/
by_expression
/
scalar-vec3
/
i32.wgsl.expected.msl
blob: 12f1a72cc2bd6b7b60ccc80fe496bbd30fff019b [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
int
a
=
4
;
int3 b
=
int3
(
0
,
2
,
0
);
int3
const
r
=
(
a
%
as_type
<int3>
((
as_type
<uint3>
(
b
)
+
as_type
<uint3>
(
b
))));
return
;
}