Sign in
dawn
/
dawn
/
3d64565e2eb8fe4a377b18e288edac70d28d586f
/
.
/
test
/
tint
/
builtins
/
extractBits
/
vec3
/
i32.spvasm.expected.ir.msl
blob: 545b0b7523f6e32da0d41564f1484d041ecfbfd4 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
void
f_1
()
{
int3 v
=
int3
(
0
);
uint
offset_1
=
0u
;
uint
count
=
0u
;
uint
const
v_1
=
min
(
offset_1
,
32u
);
int3
const
x_15
=
extract_bits
(
v
,
v_1
,
min
(
count
,
(
32u
-
v_1
)));
}
kernel
void
f
()
{
f_1
();
}