Sign in
dawn
/
dawn
/
c908e43a0890bded45ae548468d24cda7ba3fabe
/
.
/
test
/
tint
/
expressions
/
binary
/
add
/
scalar-vec3
/
i32.wgsl.expected.msl
blob: 43d59478c54ef6d5904de9b471d30a64a4956d03 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
int
const
a
=
4
;
int3
const
b
=
int3
(
1
,
2
,
3
);
int3
const
r
=
as_type
<int3>
((
as_type
<uint>
(
a
)
+
as_type
<uint3>
(
b
)));
}