Searched refs:dp1 (Results 1 - 9 of 9) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_clip_line.c72 c->reg.dp1 = brw_vec1_grf(i, 4);
102 * GLfloat dp1 = DOTPROD( vtx1, plane[p] );
104 * if (dp1 < 0.0f) {
105 * GLfloat t = dp1 / (dp1 - dp0);
108 * GLfloat t = dp0 / (dp0 - dp1);
184 brw_MOV(p, c->reg.dp1, deref_1f(temp_ptr, 0));
195 brw_DP4(p, vec4(c->reg.dp1), deref_4f(vtx1, hpos_offset), c->reg.plane_equation);
199 brw_CMP(p, brw_null_reg(), BRW_CONDITIONAL_L, vec1(c->reg.dp1), brw_imm_f(0.0f));
216 brw_ADD(p, c->reg.t, c->reg.dp1, negat
[all...]
H A Dbrw_clip.h57 struct brw_reg dp0, dp1; member in struct:brw_clip_compile::__anon320cc4c60108
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_clip_line.c72 c->reg.dp1 = brw_vec1_grf(i, 4);
102 * GLfloat dp1 = DOTPROD( vtx1, plane[p] );
104 * if (dp1 < 0.0f) {
105 * GLfloat t = dp1 / (dp1 - dp0);
108 * GLfloat t = dp0 / (dp0 - dp1);
184 brw_MOV(p, c->reg.dp1, deref_1f(temp_ptr, 0));
195 brw_DP4(p, vec4(c->reg.dp1), deref_4f(vtx1, hpos_offset), c->reg.plane_equation);
199 brw_CMP(p, brw_null_reg(), BRW_CONDITIONAL_L, vec1(c->reg.dp1), brw_imm_f(0.0f));
216 brw_ADD(p, c->reg.t, c->reg.dp1, negat
[all...]
H A Dbrw_clip.h57 struct brw_reg dp0, dp1; member in struct:brw_clip_compile::__anon95b28a790108
/xsrc/external/mit/mesa-demos/dist/src/samples/
H A Dwave.c249 float dp1[3], dp2[3]; local in function:InitMesh
332 dp1[0] = pt2[0] - pt1[0];
333 dp1[1] = pt2[1] - pt1[1];
334 dp1[2] = pt2[2] - pt1[2];
340 facet->normal[0] = dp1[1] * dp2[2] - dp1[2] * dp2[1];
341 facet->normal[1] = dp1[2] * dp2[0] - dp1[0] * dp2[2];
342 facet->normal[2] = dp1[0] * dp2[1] - dp1[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/
H A Dt_vb_cliptmp.h87 const GLfloat dp1 = CLIP_DOTPROD( v1, A, B, C, D ); \
89 const GLboolean neg_dp1 = dp1 < 0.0f; \
102 GLfloat t = dp1 / (dp1 - dp0); \
105 GLfloat t = dp0 / (dp0 - dp1); \
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
H A Dt_vb_cliptmp.h87 const GLfloat dp1 = CLIP_DOTPROD( v1, A, B, C, D ); \
89 const GLboolean neg_dp1 = dp1 < 0.0f; \
102 GLfloat t = dp1 / (dp1 - dp0); \
105 GLfloat t = dp0 / (dp0 - dp1); \
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_pipe_clip.c587 const float dp1 = getclipdist(clipper, v1, plane_idx); local in function:do_clip_line
589 if (util_is_inf_or_nan(dp0) || util_is_inf_or_nan(dp1))
592 if (dp1 < 0.0F) {
593 float t = dp1 / (dp1 - dp0);
598 float t = dp0 / (dp0 - dp1);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_pipe_clip.c598 const float dp1 = getclipdist(clipper, v1, plane_idx); local in function:do_clip_line
600 if (util_is_inf_or_nan(dp0) || util_is_inf_or_nan(dp1))
603 if (dp1 < 0.0F) {
604 float t = dp1 / (dp1 - dp0);
609 float t = dp0 / (dp0 - dp1);

Completed in 11 milliseconds