blob: 1f04e5ea346d7c5e8498568b282f0d96e281a440 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
int4 tint_ftoi(float4 v) {
return select(int4(2147483647), select(int4(v), int4((-2147483647 - 1)), (v < float4(-2147483648.0f))), (v < float4(2147483520.0f)));
}
float4 m() {
thread float tint_symbol_1 = 0.0f;
tint_symbol_1 = 1.0f;
return float4(tint_symbol_1);
}
void f() {
float4 const tint_symbol = m();
int4 v = tint_ftoi(tint_symbol);
}