Home
last modified time | relevance | path

Searched refs:rcp_scaled_t (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_builtin_builder.c270 nir_ssa_def *rcp_scaled_t = nir_frcp(b, nir_fmul(b, t, scale)); in nir_atan2() local
271 nir_ssa_def *s_over_t = nir_fmul(b, nir_fmul(b, s, scale), rcp_scaled_t); in nir_atan2()
308 return nir_bcsel(b, nir_flt(b, nir_fmin(b, y, rcp_scaled_t), zero), in nir_atan2()
/third_party/mesa3d/src/compiler/glsl/
Dbuiltin_functions.cpp5191 ir_variable *rcp_scaled_t = body.make_temp(type, "rcp_scaled_t"); in _atan2() local
5192 body.emit(assign(rcp_scaled_t, rcp(mul(t, scale)))); in _atan2()
5193 ir_expression *s_over_t = mul(mul(s, scale), rcp_scaled_t); in _atan2()
5231 body.emit(ret(csel(less(min2(y, rcp_scaled_t), imm(0.0f, n)), in _atan2()