Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Dir3_gallium.c591 uint32_t maxvtxcnt = 0x7fffffff; in ir3_update_max_tf_vtx() local
594 maxvtxcnt = 0; in ir3_update_max_tf_vtx()
596 maxvtxcnt = 0; in ir3_update_max_tf_vtx()
607 * up to 'offset + stride[i]', that leaves maxvtxcnt as: in ir3_update_max_tf_vtx()
609 * buffer_size = (maxvtxcnt * stride[i]) + stride[i] in ir3_update_max_tf_vtx()
610 * maxvtxcnt = (buffer_size - stride[i]) / stride[i] in ir3_update_max_tf_vtx()
622 maxvtxcnt = MIN2(maxvtxcnt, max); in ir3_update_max_tf_vtx()
626 ctx->streamout.max_tf_vtx = maxvtxcnt; in ir3_update_max_tf_vtx()
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_compiler_nir.c3739 * the 'if (vtxcnt < maxvtxcnt)' condition, then append the conditional
3744 * p0.x = (vtxcnt < maxvtxcnt)
3762 struct ir3_instruction *vtxcnt, *maxvtxcnt, *cond; in emit_stream_out() local
3770 maxvtxcnt = create_driver_param(ctx, IR3_DP_VTXCNT_MAX); in emit_stream_out()
3797 /* setup 'if (vtxcnt < maxvtxcnt)' condition: */ in emit_stream_out()
3798 cond = ir3_CMPS_S(ctx->block, vtxcnt, 0, maxvtxcnt, 0); in emit_stream_out()

Completed in 7 milliseconds