Home
last modified time | relevance | path

Searched refs:bbox_min (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/amd/llvm/
Dac_llvm_cull.c163 LLVMValueRef bbox_min[3], bbox_max[3]; in cull_bbox() local
170 bbox_min[chan] = ac_build_fmin(ctx, pos[0][chan], pos[1][chan]); in cull_bbox()
174 bbox_min[chan] = ac_build_fmin(ctx, bbox_min[chan], pos[2][chan]); in cull_bbox()
179 bbox_min[chan] = LLVMBuildFSub(builder, bbox_min[chan], clip_half_line_width[chan], ""); in cull_bbox()
197 visible = LLVMBuildFCmp(builder, LLVMRealOLE, bbox_min[chan], ctx->f32_1, ""); in cull_bbox()
217 min = ac_build_fmad(ctx, bbox_min[chan], vp_scale[chan], vp_translate[chan]); in cull_bbox()
/third_party/mesa3d/src/amd/common/
Dac_nir_cull.c96 nir_ssa_def *bbox_min[3] = {0}, *bbox_max[3] = {0}; in cull_bbox() local
99 bbox_min[chan] = nir_fmin(b, pos[0][chan], nir_fmin(b, pos[1][chan], pos[2][chan])); in cull_bbox()
110 …m_outside_view = nir_ior(b, prim_outside_view, nir_flt(b, nir_imm_float(b, 1.0f), bbox_min[chan])); in cull_bbox()
124 nir_ssa_def *min = nir_ffma(b, bbox_min[chan], vp_scale[chan], vp_translate[chan]); in cull_bbox()