Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/llvm/
Dac_llvm_cull.c120 LLVMValueRef vp_scale[2], LLVMValueRef vp_translate[2], in cull_bbox()
185 min = ac_build_fmad(ctx, bbox_min[chan], vp_scale[chan], vp_translate[chan]); in cull_bbox()
186 max = ac_build_fmad(ctx, bbox_max[chan], vp_scale[chan], vp_translate[chan]); in cull_bbox()
229 LLVMValueRef vp_translate[2], LLVMValueRef small_prim_precision, in ac_cull_triangle()
246 accepted = cull_bbox(ctx, pos, accepted, &w, vp_scale, vp_translate, small_prim_precision, in ac_cull_triangle()
Dac_llvm_cull.h53 LLVMValueRef vp_translate[2], LLVMValueRef small_prim_precision,
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute_prim_discard.c656 LLVMValueRef vp_scale[2], vp_translate[2]; in si_build_prim_discard_compute_shader() local
659 vp_translate[0] = ac_llvm_extract_elem(&ctx->ac, vp, 2); in si_build_prim_discard_compute_shader()
660 vp_translate[1] = ac_llvm_extract_elem(&ctx->ac, vp, 3); in si_build_prim_discard_compute_shader()
675 ac_cull_triangle(&ctx->ac, pos, prim_restart_accepted, vp_scale, vp_translate, in si_build_prim_discard_compute_shader()
Dgfx10_shader_ngg.c890 LLVMValueRef vp_scale[2], vp_translate[2]; in gfx10_emit_ngg_culling_epilogue() local
893 vp_translate[0] = ac_llvm_extract_elem(&ctx->ac, vp, 2); in gfx10_emit_ngg_culling_epilogue()
894 vp_translate[1] = ac_llvm_extract_elem(&ctx->ac, vp, 3); in gfx10_emit_ngg_culling_epilogue()
915 ac_cull_triangle(&ctx->ac, pos, ctx->ac.i1true, vp_scale, vp_translate, in gfx10_emit_ngg_culling_epilogue()