Searched refs:y_over_x (Results 1 - 6 of 6) sorted by relevance
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_builtin_builder.c | 176 nir_atan(nir_builder *b, nir_ssa_def *y_over_x) argument 178 const uint32_t bit_size = y_over_x->bit_size; 180 nir_ssa_def *abs_y_over_x = nir_fabs(b, y_over_x); 186 * / y_over_x if |y_over_x| <= 1.0; 188 * \ 1.0 / y_over_x otherwise 226 nir_ssa_def *result = nir_fmul(b, tmp, nir_fsign(b, y_over_x)); 231 * !isnan(y_over_x) ? ... : y_over_x; 238 nir_ssa_def *is_not_nan = nir_feq(b, y_over_x, y_over_ [all...] |
| H A D | nir_builtin_builder.h | 47 nir_ssa_def* nir_atan(nir_builder *b, nir_ssa_def *y_over_x);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/ |
| H A D | vtn_glsl450.c | 252 build_atan(nir_builder *b, nir_ssa_def *y_over_x) argument 254 const uint32_t bit_size = y_over_x->bit_size; 256 nir_ssa_def *abs_y_over_x = nir_fabs(b, y_over_x); 262 * / y_over_x if |y_over_x| <= 1.0; 264 * \ 1.0 / y_over_x otherwise 301 return nir_fmul(b, tmp, nir_fsign(b, y_over_x));
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | builtin_functions.cpp | 946 void do_atan(ir_factory &body, const glsl_type *type, ir_variable *res, operand y_over_x); 5238 builtin_builder::do_atan(ir_factory &body, const glsl_type *type, ir_variable *res, operand y_over_x) argument 5243 * / y_over_x if |y_over_x| <= 1.0; 5245 * \ 1.0 / y_over_x otherwise 5248 body.emit(assign(x, div(min2(abs(y_over_x), 5250 max2(abs(y_over_x), 5277 mul(b2f(greater(abs(y_over_x), 5284 body.emit(assign(res, mul(tmp, sign(y_over_x)))); 5290 ir_variable *y_over_x local in function:builtin_builder::_atan [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | builtin_functions.cpp | 858 void do_atan(ir_factory &body, const glsl_type *type, ir_variable *res, operand y_over_x); 4748 builtin_builder::do_atan(ir_factory &body, const glsl_type *type, ir_variable *res, operand y_over_x) argument 4753 * / y_over_x if |y_over_x| <= 1.0; 4755 * \ 1.0 / y_over_x otherwise 4758 body.emit(assign(x, div(min2(abs(y_over_x), 4760 max2(abs(y_over_x), 4787 mul(b2f(greater(abs(y_over_x), 4794 body.emit(assign(res, mul(tmp, sign(y_over_x)))); 4800 ir_variable *y_over_x local in function:builtin_builder::_atan [all...] |
| /xsrc/external/mit/MesaLib/dist/docs/relnotes/ |
| H A D | 7.10.rst | 2062 - glsl/builtins: Rename 'x' to 'y_over_x' in atan(float)
|
Completed in 27 milliseconds