Lines Matching defs:count
3009 /* Take the maximum of the old and new count. If the new count is lower,
3126 /* NGG cull state uses the sample count. */
4540 view->base.reference.count = 1;
4871 static void *si_create_vertex_elements(struct pipe_context *ctx, unsigned count,
4885 assert(count <= SI_MAX_ATTRIBS);
4889 v->count = count;
4893 count > num_vbos_in_user_sgprs ? count - num_vbos_in_user_sgprs : 0;
4896 for (i = 0; i < count; ++i) {
5095 sctx->num_vertex_elements = v->count;
5111 sizeof(v->vertex_buffer_index[0]) * MAX2(old->count, v->count))) ||
5118 MAX2(old->count, v->count))) {
5146 static void si_set_vertex_buffers(struct pipe_context *ctx, unsigned start_slot, unsigned count,
5152 unsigned updated_mask = u_bit_consecutive(start_slot, count + unbind_num_trailing_slots);
5157 assert(start_slot + count + unbind_num_trailing_slots <= ARRAY_SIZE(sctx->vertex_buffer));
5161 for (i = 0; i < count; i++) {
5178 memcpy(dst, buffers, count * sizeof(struct pipe_vertex_buffer));
5180 for (i = 0; i < count; i++) {
5199 for (i = 0; i < count; i++)
5204 pipe_resource_reference(&dst[count + i].buffer.resource, NULL);