#include <metal_stdlib> | |
using namespace metal; | |
struct tint_private_vars_struct { | |
float3 u; | |
}; | |
int3 tint_ftoi(float3 v) { | |
return select(int3(2147483647), select(int3(v), int3((-2147483647 - 1)), (v < float3(-2147483648.0f))), (v < float3(2147483520.0f))); | |
} | |
void f(thread tint_private_vars_struct* const tint_private_vars) { | |
int3 const v = tint_ftoi((*(tint_private_vars)).u); | |
} | |