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

/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_llvm_cull.c134 LLVMValueRef bbox_min[3], bbox_max[3]; local in function:cull_bbox
141 bbox_min[chan] = ac_build_fmin(ctx, pos[0][chan], pos[1][chan]);
145 bbox_min[chan] = ac_build_fmin(ctx, bbox_min[chan], pos[2][chan]);
163 visible = LLVMBuildFCmp(builder, LLVMRealOLE, bbox_min[chan], ctx->f32_1, "");
183 min = ac_build_fmad(ctx, bbox_min[chan], vp_scale[chan], vp_translate[chan]);
/xsrc/external/mit/MesaLib/dist/src/amd/common/
H A Dac_nir_cull.c96 nir_ssa_def *bbox_min[3] = {0}, *bbox_max[3] = {0}; local in function:cull_bbox
99 bbox_min[chan] = nir_fmin(b, pos[0][chan], nir_fmin(b, pos[1][chan], pos[2][chan]));
110 prim_outside_view = nir_ior(b, prim_outside_view, nir_flt(b, nir_imm_float(b, 1.0f), bbox_min[chan]));
124 nir_ssa_def *min = nir_ffma(b, bbox_min[chan], vp_scale[chan], vp_translate[chan]);

Completed in 3 milliseconds