Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/spirv/
Dvtn_glsl450.c474 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/
Dbuiltin_functions.cpp6549 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()