Lines Matching defs:count
148 default: unreachable("Unsupported sample count");
1480 /* Next up, attach UBOs. UBO count includes gaps but no sysval UBO */
1519 *pushed_words = ss->info.push.count;
1521 if (ss->info.push.count == 0)
1527 ss->info.push.count * 4, 16);
1532 for (unsigned i = 0; i < ss->info.push.count; ++i) {
2004 unsigned count = vs->info.attribute_count;
2007 count = MAX2(count, vs->xfb->info.attribute_count);
2011 bool special_vbufs = count >= PAN_VERTEX_ID;
2026 pan_pool_alloc_desc_array(&batch->pool.base, count,
2065 * the product of the instance divisor and the padded count */
2233 unsigned stride, unsigned count)
2235 unsigned size = stride * count;
2576 unsigned count = util_bitcount(present);
2579 count + 1,
2585 *buffer_count = count;
2589 memset(varyings + count, 0, sizeof(*varyings));
2801 uint32_t prims = u_prims_for_vertices(info->mode, draw->count);
2814 unsigned count = u_stream_outputs_for_vertices(ctx->active_prim,
2821 pan_so_target(ctx->streamout.targets[i])->offset += count;
3101 cfg.index_count = ctx->indirect_draw ? 1 : draw->count;
3389 cfg.count = info->instance_count;
3496 unsigned count)
3509 u_trim_pipe_prim(info->mode, &count);
3511 if (count == 0)
3533 cfg.workgroup_count_x = count;
3555 1, count, info->instance_count,
3584 if (!draw->count || !info->instance_count)
3604 ctx->vertex_count = draw->count + (info->index_size ? abs(draw->index_bias) : 0);
3651 unsigned count = vertex_count;
3656 * the instance count must be aligned to 4 vertices.
3659 count = ALIGN_POT(count, 4);
3661 ctx->padded_count = panfrost_padded_vertex_count(count);
3708 panfrost_launch_xfb(batch, info, attribs, attrib_bufs, draw->count);
3761 /* Indirect draw count and multi-draw not supported. */
3805 /* We want to create templates, set all count fields to 0 to reflect
3864 /* Don't count images: those attributes don't need to be patched. */
4004 tmp_draw.count = so->offset;
4415 so->base.reference.count = 1;