Searched refs:inv_w (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/cc/base/ |
D | math_util.h | 56 SkMScalar inv_w = SK_MScalar1 / w(); in CartesianPoint2d() local 57 return gfx::PointF(x() * inv_w, y() * inv_w); in CartesianPoint2d() 67 SkMScalar inv_w = SK_MScalar1 / w(); in CartesianPoint3d() local 68 return gfx::Point3F(x() * inv_w, y() * inv_w, z() * inv_w); in CartesianPoint3d()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_sf_emit.c | 258 c->inv_w[0] = brw_vec1_grf(2, 1); in alloc_regs() 260 c->inv_w[1] = brw_vec1_grf(2, 3); in alloc_regs() 262 c->inv_w[2] = brw_vec1_grf(2, 5); in alloc_regs() 438 brw_MUL(p, a0, a0, c->inv_w[0]); in brw_emit_tri_setup() 439 brw_MUL(p, a1, a1, c->inv_w[1]); in brw_emit_tri_setup() 440 brw_MUL(p, a2, a2, c->inv_w[2]); in brw_emit_tri_setup() 522 brw_MUL(p, a0, a0, c->inv_w[0]); in brw_emit_line_setup() 523 brw_MUL(p, a1, a1, c->inv_w[1]); in brw_emit_line_setup() 587 brw_MUL(p, a0, a0, c->inv_w[0]); in brw_emit_point_sprite_setup() 684 brw_MUL(p, a0, a0, c->inv_w[0]); in brw_emit_point_setup()
|
D | brw_sf.h | 75 struct brw_reg inv_w[3]; member
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
D | brw_sf_emit.c | 258 c->inv_w[0] = brw_vec1_grf(2, 1); in alloc_regs() 260 c->inv_w[1] = brw_vec1_grf(2, 3); in alloc_regs() 262 c->inv_w[2] = brw_vec1_grf(2, 5); in alloc_regs() 438 brw_MUL(p, a0, a0, c->inv_w[0]); in brw_emit_tri_setup() 439 brw_MUL(p, a1, a1, c->inv_w[1]); in brw_emit_tri_setup() 440 brw_MUL(p, a2, a2, c->inv_w[2]); in brw_emit_tri_setup() 522 brw_MUL(p, a0, a0, c->inv_w[0]); in brw_emit_line_setup() 523 brw_MUL(p, a1, a1, c->inv_w[1]); in brw_emit_line_setup() 587 brw_MUL(p, a0, a0, c->inv_w[0]); in brw_emit_point_sprite_setup() 684 brw_MUL(p, a0, a0, c->inv_w[0]); in brw_emit_point_setup()
|
D | brw_sf.h | 75 struct brw_reg inv_w[3]; member
|