Home
last modified time | relevance | path

Searched refs:hpos_offset (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clip_tri.c234 struct brw_reg dst, GLuint hpos_offset, int cond) in load_clip_distance() argument
249 brw_MOV(p, dst, deref_4f(vtx, hpos_offset)); in load_clip_distance()
270 GLuint hpos_offset = brw_varying_to_offset(&c->vue_map, VARYING_SLOT_POS); in brw_clip_tri() local
319 load_clip_distance(c, vtxPrev, c->reg.dpPrev, hpos_offset, BRW_CONDITIONAL_L); in brw_clip_tri()
323 load_clip_distance(c, vtx, c->reg.dp, hpos_offset, BRW_CONDITIONAL_GE); in brw_clip_tri()
365 load_clip_distance(c, vtx, c->reg.dp, hpos_offset, BRW_CONDITIONAL_L); in brw_clip_tri()
538 GLuint hpos_offset = brw_varying_to_offset(&c->vue_map, in brw_clip_test() local
544 brw_MOV(p, v0, deref_4f(vt0, hpos_offset)); in brw_clip_test()
545 brw_MOV(p, v1, deref_4f(vt1, hpos_offset)); in brw_clip_test()
546 brw_MOV(p, v2, deref_4f(vt2, hpos_offset)); in brw_clip_test()
Dbrw_clip_line.c137 GLuint hpos_offset = brw_varying_to_offset(&c->vue_map, VARYING_SLOT_POS); in clip_and_emit_line() local
201 brw_DP4(p, vec4(c->reg.dp0), deref_4f(vtx0, hpos_offset), c->reg.plane_equation); in clip_and_emit_line()
202 brw_DP4(p, vec4(c->reg.dp1), deref_4f(vtx1, hpos_offset), c->reg.plane_equation); in clip_and_emit_line()
Dbrw_clip_unfilled.c54 GLuint hpos_offset = brw_varying_to_offset(&c->vue_map, VARYING_SLOT_POS); in compute_tri_direction() local
55 struct brw_reg v0 = byte_offset(c->reg.vertex[0], hpos_offset); in compute_tri_direction()
56 struct brw_reg v1 = byte_offset(c->reg.vertex[1], hpos_offset); in compute_tri_direction()
57 struct brw_reg v2 = byte_offset(c->reg.vertex[2], hpos_offset); in compute_tri_direction()
Dbrw_clip_util.c112 GLuint hpos_offset = brw_varying_to_offset(&c->vue_map, VARYING_SLOT_POS); in brw_clip_project_vertex() local
119 brw_MOV(p, tmp, deref_4f(vert_addr, hpos_offset)); in brw_clip_project_vertex()