Searched refs:M_LOG2E (Results 1 - 9 of 9) sorted by relevance
| /xsrc/external/mit/MesaLib.old/dist/include/ |
| H A D | c99_math.h | 135 #ifndef M_LOG2E 136 #define M_LOG2E (1.4426950408889634074) macro
|
| /xsrc/external/mit/MesaLib/dist/include/ |
| H A D | c99_math.h | 135 #ifndef M_LOG2E 136 #define M_LOG2E (1.4426950408889634074) macro
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_builtin_builder.h | 92 return nir_fexp2(b, nir_fmul_imm(b, x, M_LOG2E)); 98 return nir_fmul_imm(b, nir_flog2(b, x), 1.0 / M_LOG2E);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/ |
| H A D | vtn_glsl450.c | 180 return nir_fexp2(b, nir_fmul_imm(b, x, M_LOG2E)); 189 return nir_fmul_imm(b, nir_flog2(b, x), 1.0 / M_LOG2E);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/program/ |
| H A D | prog_statevars.c | 473 value[2] = (GLfloat)(ctx->Fog.Density * M_LOG2E); /* M_LOG2E == 1/ln(2) */
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | lower_instructions.cpp | 283 ir_constant *log2_e = _imm_fp(ir, ir->type, M_LOG2E); 314 ir->operands[1] = _imm_fp(ir, ir->operands[0]->type, 1.0 / M_LOG2E);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | lower_instructions.cpp | 276 ir_constant *log2_e = new(ir) ir_constant(float(M_LOG2E)); 307 ir->operands[1] = new(ir) ir_constant(float(1.0 / M_LOG2E));
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/program/ |
| H A D | prog_statevars.c | 602 value[2] = (GLfloat)(ctx->Fog.Density * M_LOG2E); /* M_LOG2E == 1/ln(2) */
|
| /xsrc/external/mit/MesaLib/dist/docs/relnotes/ |
| H A D | 7.10.rst | 1620 - glsl: Use M_LOG2E constant instead of calling log2
|
Completed in 38 milliseconds