Searched refs:rcp_scaled_t (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/compiler/nir/ |
D | nir_builtin_builder.c | 256 nir_ssa_def *rcp_scaled_t = nir_frcp(b, nir_fmul(b, t, scale)); in nir_atan2() local 257 nir_ssa_def *s_over_t = nir_fmul(b, nir_fmul(b, s, scale), rcp_scaled_t); in nir_atan2() 295 return nir_bcsel(b, nir_flt(b, nir_fmin(b, y, rcp_scaled_t), zero), in nir_atan2()
|
/external/mesa3d/src/compiler/glsl/ |
D | builtin_functions.cpp | 5162 ir_variable *rcp_scaled_t = body.make_temp(type, "rcp_scaled_t"); in _atan2() local 5163 body.emit(assign(rcp_scaled_t, rcp(mul(t, scale)))); in _atan2() 5164 ir_expression *s_over_t = mul(mul(s, scale), rcp_scaled_t); in _atan2() 5202 body.emit(ret(csel(less(min2(y, rcp_scaled_t), imm(0.0f, n)), in _atan2()
|