Searched refs:vtxcnt (Results 1 - 3 of 3) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_gs_count_vertices.c86 int vtxcnt = -1; local in function:nir_gs_count_vertices_and_primitives
93 vtxcnt = nir_src_as_int(intrin->src[0]);
101 if (cnt_found[stream] && vtxcnt != vtxcnt_arr[stream])
102 vtxcnt = -1;
106 vtxcnt_arr[stream] = vtxcnt;
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/
H A Dir3_compiler_nir.c2212 * the 'if (vtxcnt < maxvtxcnt)' condition, then append the conditional
2217 * p0.x = (vtxcnt < maxvtxcnt)
2235 struct ir3_instruction *vtxcnt, *maxvtxcnt, *cond; local in function:emit_stream_out
2238 /* create vtxcnt input in input block at top of shader,
2242 vtxcnt = create_input(ctx, 0);
2243 add_sysval_input(ctx, SYSTEM_VALUE_VERTEX_CNT, vtxcnt);
2267 /* setup 'if (vtxcnt < maxvtxcnt)' condition: */
2268 cond = ir3_CMPS_S(ctx->block, vtxcnt, 0, maxvtxcnt, 0);
2283 /* Calculate base addresses based on vtxcnt. Instructions
2294 off = ir3_MUL_U(ctx->block, vtxcnt,
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_compiler_nir.c3144 * the 'if (vtxcnt < maxvtxcnt)' condition, then append the conditional
3149 * p0.x = (vtxcnt < maxvtxcnt)
3167 struct ir3_instruction *vtxcnt, *maxvtxcnt, *cond; local in function:emit_stream_out
3170 /* create vtxcnt input in input block at top of shader,
3174 vtxcnt = create_sysval_input(ctx, SYSTEM_VALUE_VERTEX_CNT, 0x1);
3202 /* setup 'if (vtxcnt < maxvtxcnt)' condition: */
3203 cond = ir3_CMPS_S(ctx->block, vtxcnt, 0, maxvtxcnt, 0);
3219 /* Calculate base addresses based on vtxcnt. Instructions
3231 off = ir3_MUL_U24(ctx->block, vtxcnt, 0,

Completed in 14 milliseconds