Home
last modified time | relevance | path

Searched refs:dpPrev (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/tnl/
Dt_vb_cliptmp.h35 GLfloat dpPrev = CLIP_DOTPROD(idxPrev, A, B, C, D ); \
44 if (dpPrev >= 0.0f) { \
48 if (DIFFERENT_SIGNS(dp, dpPrev)) { \
53 GLfloat t = dp / (dp - dpPrev); \
59 GLfloat t = dpPrev / (dpPrev - dp); \
67 dpPrev = dp; \
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clip_tri.c94 c->reg.dpPrev = brw_vec1_grf(i, 0); /* fixme - dp4 will clobber r.1,2,3 */ in brw_clip_tri_alloc_regs()
319 load_clip_distance(c, vtxPrev, c->reg.dpPrev, hpos_offset, BRW_CONDITIONAL_L); in brw_clip_tri()
331 brw_ADD(p, c->reg.t, c->reg.dpPrev, negate(c->reg.dp)); in brw_clip_tri()
333 brw_MUL(p, c->reg.t, c->reg.t, c->reg.dpPrev); in brw_clip_tri()
373 brw_ADD(p, c->reg.t, c->reg.dp, negate(c->reg.dpPrev)); in brw_clip_tri()
Dbrw_clip.h92 struct brw_reg dpPrev; member