Searched refs:n_dot_i (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_glsl450.c | 474 nir_ssa_def *n_dot_i = nir_fdot(nb, N, I); in handle_glsl450_alu() local 494 nir_fmul(nb, eta, nir_a_minus_bc(nb, one, n_dot_i, n_dot_i))); in handle_glsl450_alu() 497 nir_ffma(nb, eta, n_dot_i, nir_fsqrt(nb, k)), in handle_glsl450_alu()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | builtin_functions.cpp | 6549 ir_variable *n_dot_i = body.make_temp(type->get_base_type(), "n_dot_i"); in _refract() local 6550 body.emit(assign(n_dot_i, dot(N, I))); in _refract() 6562 mul(n_dot_i, n_dot_i))))))); in _refract() 6566 mul(add(mul(eta, n_dot_i), sqrt(k)), N))))); in _refract()
|