Searched refs:eta (Results 1 - 4 of 4) sorted by relevance
| /xsrc/external/mit/MesaLib/dist/src/compiler/spirv/ |
| H A D | vtn_glsl450.c | 462 nir_ssa_def *eta = src[2]; local in function:handle_glsl450_alu 466 /* According to the SPIR-V and GLSL specs, eta is always a float 470 * support a hypothetical fixed version of glslang we’ll promote eta to 473 if (I->bit_size != eta->bit_size) { 475 nir_type_conversion_op(nir_type_float | eta->bit_size, 478 eta = nir_build_alu(nb, conversion_op, eta, NULL, NULL, NULL); 480 /* k = 1.0 - eta * eta * (1.0 - dot(N, I) * dot(N, I)) */ 482 nir_a_minus_bc(nb, one, eta, [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/ |
| H A D | vtn_glsl450.c | 559 nir_ssa_def *eta = src[2]; local in function:handle_glsl450_alu 563 /* According to the SPIR-V and GLSL specs, eta is always a float 567 * support a hypothetical fixed version of glslang we’ll promote eta to 570 if (I->bit_size != eta->bit_size) { 572 nir_type_conversion_op(nir_type_float | eta->bit_size, 575 eta = nir_build_alu(nb, conversion_op, eta, NULL, NULL, NULL); 577 /* k = 1.0 - eta * eta * (1.0 - dot(N, I) * dot(N, I)) */ 579 nir_fsub(nb, one, nir_fmul(nb, eta, nir_fmu [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | builtin_functions.cpp | 5929 ir_variable *eta = in_var(type->get_base_type(), "eta"); local in function:builtin_builder::_refract 5930 MAKE_SIG(type, avail, 3, I, N, eta); 5936 * k = 1.0 - eta * eta * (1.0 - dot(N, I) * dot(N, I)) 5940 * return eta * I - (eta * dot(N, I) + sqrt(k)) * N 5944 mul(eta, mul(eta, sub(IMM_FP(type, 1.0), 5948 ret(sub(mul(eta, [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | builtin_functions.cpp | 5434 ir_variable *eta = in_var(type->get_base_type(), "eta"); local in function:builtin_builder::_refract 5435 MAKE_SIG(type, avail, 3, I, N, eta); 5441 * k = 1.0 - eta * eta * (1.0 - dot(N, I) * dot(N, I)) 5445 * return eta * I - (eta * dot(N, I) + sqrt(k)) * N 5449 mul(eta, mul(eta, sub(IMM_FP(type, 1.0), 5453 ret(sub(mul(eta, [all...] |
Completed in 21 milliseconds