Searched refs:rcp_scaled_t (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/compiler/spirv/ |
D | vtn_glsl450.c | 339 nir_ssa_def *rcp_scaled_t = nir_frcp(b, nir_fmul(b, t, scale)); in build_atan2() local 340 nir_ssa_def *s_over_t = nir_fmul(b, nir_fmul(b, s, scale), rcp_scaled_t); in build_atan2() 378 return nir_bcsel(b, nir_flt(b, nir_fmin(b, y, rcp_scaled_t), zero), in build_atan2()
|
/external/mesa3d/src/compiler/glsl/ |
D | builtin_functions.cpp | 3811 ir_variable *rcp_scaled_t = body.make_temp(type, "rcp_scaled_t"); in _atan2() local 3812 body.emit(assign(rcp_scaled_t, rcp(mul(t, scale)))); in _atan2() 3813 ir_expression *s_over_t = mul(mul(s, scale), rcp_scaled_t); in _atan2() 3851 body.emit(ret(csel(less(min2(y, rcp_scaled_t), imm(0.0f, n)), in _atan2()
|