Home
last modified time | relevance | path

Searched refs:clipmask (Results 1 - 5 of 5) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_clip.c144 dst->clipmask = 0; in interp()
348 unsigned clipmask) in do_clip_tri()
415 while (clipmask && n >= 3) { in do_clip_tri()
416 const unsigned plane_idx = ffs(clipmask)-1; in do_clip_tri()
424 clipmask &= ~(1<<plane_idx); in do_clip_tri()
574 unsigned clipmask) in do_clip_line()
595 while (clipmask) { in do_clip_line()
596 const unsigned plane_idx = ffs(clipmask)-1; in do_clip_line()
616 clipmask &= ~(1 << plane_idx); /* turn off this plane's bit */ in do_clip_line()
619 if (v0->clipmask) { in do_clip_line()
346 do_clip_tri(struct draw_stage *stage, struct prim_header *header, unsigned clipmask) do_clip_tri() argument
572 do_clip_line(struct draw_stage *stage, struct prim_header *header, unsigned clipmask) do_clip_line() argument
668 unsigned clipmask = header->v[0]->clipmask; clip_point_guard_xy() local
703 unsigned clipmask = (header->v[0]->clipmask | clip_line() local
721 unsigned clipmask = (header->v[0]->clipmask | clip_tri() local
[all...]
H A Ddraw_cliptest_tmp.h162 out->clipmask = mask; in do_cliptest()
163 need_pipeline |= out->clipmask; in do_cliptest()
H A Ddraw_llvm.c516 LP_CHECK_MEMBER_OFFSET(struct vertex_header, clipmask, in create_jit_vertex_header()
1177 * unsigned clipmask:DRAW_TOTAL_CLIP_PLANES;
1190 * ((x & 0x3fff) << 18) | // clipmask
1202 LLVMValueRef clipmask; in adjust_mask() local
1207 clipmask = LLVMBuildAnd(builder, mask, lp_build_const_int32(gallivm, 0x3fff), ""); in adjust_mask()
1208 clipmask = LLVMBuildShl(builder, clipmask, lp_build_const_int32(gallivm, 18), ""); in adjust_mask()
1216 mask = LLVMBuildOr(builder, vertex_id, clipmask, ""); in adjust_mask()
1234 LLVMValueRef clipmask, in store_aos_array()
1275 /* OR with the clipmask */ in store_aos_array()
1226 store_aos_array(struct gallivm_state *gallivm, struct lp_type soa_type, LLVMTypeRef io_type, LLVMValueRef io_ptr, LLVMValueRef *indices, LLVMValueRef* aos, int attrib, int num_outputs, LLVMValueRef clipmask, boolean need_edgeflag) store_aos_array() argument
1297 convert_to_aos(struct gallivm_state *gallivm, LLVMTypeRef io_type, LLVMValueRef io, LLVMValueRef *indices, LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS], LLVMValueRef clipmask, int num_outputs, struct lp_type soa_type, boolean need_edgeflag) convert_to_aos() argument
1798 LLVMValueRef clipmask = lp_build_const_int_vec(gallivm, draw_gs_llvm_emit_vertex() local
2177 LLVMValueRef clipmask; /* holds the clipmask value */ draw_llvm_generate() local
4095 LLVMValueRef clipmask = lp_build_const_int_vec(gallivm, draw_tes_llvm_generate() local
[all...]
H A Ddraw_pt_post_vs.c59 header->clipmask = 0; in initialize_vertex_header()
H A Ddraw_private.h120 unsigned clipmask:DRAW_TOTAL_CLIP_PLANES; member

Completed in 8 milliseconds