Home
last modified time | relevance | path

Searched refs:inv_det (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/util/
Dformat_srgb.py106 inv_det = 1.0 / (sum_aa * sum_bb - sum_ab * sum_ab)
121 solved_a = inv_det * (sum_bb*sum_a - sum_ab*sum_b)
122 solved_b = inv_det * (sum_aa*sum_b - sum_ab*sum_a)
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_offset.c70 float inv_det = 1.0f / header->det; in do_offset_tri() local
90 float dzdx = fabsf(a * inv_det); in do_offset_tri()
91 float dzdy = fabsf(b * inv_det); in do_offset_tri()
/external/vulkan-validation-layers/libs/glm/gtx/
Dintersect.inl132 float inv_det = typename genType::value_type(1) / det; local
136 position.y = dot(tvec, pvec) * inv_det;
142 position.z = dot(dir, qvec) * inv_det;
146 position.x = dot(edge2, qvec) * inv_det;
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sf_emit.c285 c->inv_det = brw_vec1_grf(reg, 0); reg++; in alloc_regs()
322 c->inv_det, in invert_det()
467 brw_MUL(p, c->m1Cx, c->tmp, c->inv_det); in brw_emit_tri_setup()
473 brw_MUL(p, c->m2Cy, c->tmp, c->inv_det); in brw_emit_tri_setup()
544 brw_MUL(p, c->m1Cx, c->tmp, c->inv_det); in brw_emit_line_setup()
547 brw_MUL(p, c->m2Cy, c->tmp, c->inv_det); in brw_emit_line_setup()
Dbrw_sf.h84 struct brw_reg inv_det; member
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_setup.c207 LLVMValueRef inv_det, in lp_do_offset_tri() argument
253 dzdxdzdy = LLVMBuildFMul(b, res12, inv_det, "dzdxdzdy"); in lp_do_offset_tri()