Searched refs:plane_idx (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_cliptest_tmp.h | 101 unsigned plane_idx = ffs(ucp_mask)-1; in TAG() local 102 ucp_mask &= ~(1 << plane_idx); in TAG() 103 plane_idx += 6; in TAG() 112 i = plane_idx - 6; in TAG() 120 mask |= 1 << plane_idx; in TAG() 122 if (dot4(clipvertex, plane[plane_idx]) < 0) in TAG() 123 mask |= 1 << plane_idx; in TAG()
|
D | draw_pipe_clip.c | 277 int plane_idx) in getclipdist() argument 281 if (vert->have_clipdist && plane_idx >= 6) { in getclipdist() 283 int _idx = plane_idx - 6; in getclipdist() 288 plane = clipper->plane[plane_idx]; in getclipdist() 331 const unsigned plane_idx = ffs(clipmask)-1; in do_clip_tri() local 332 const boolean is_user_clip_plane = plane_idx >= 6; in do_clip_tri() 338 dp_prev = getclipdist(clipper, vert_prev, plane_idx); in do_clip_tri() 339 clipmask &= ~(1<<plane_idx); in do_clip_tri() 351 float dp = getclipdist(clipper, vert, plane_idx); in do_clip_tri() 478 const unsigned plane_idx = ffs(clipmask)-1; in do_clip_line() local [all …]
|
D | draw_llvm.c | 967 unsigned plane_idx = ffs(ucp_enable)-1; in generate_clipmask() local 968 ucp_enable &= ~(1 << plane_idx); in generate_clipmask() 969 plane_idx += 6; in generate_clipmask() 974 i = plane_idx - 6; in generate_clipmask() 983 temp = lp_build_const_int_vec(gallivm, i32_type, 1 << plane_idx); in generate_clipmask() 989 indices[1] = lp_build_const_int32(gallivm, plane_idx); in generate_clipmask() 1019 temp = lp_build_const_int_vec(gallivm, i32_type, 1 << plane_idx); in generate_clipmask()
|