Home
last modified time | relevance | path

Searched refs:padded_count (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/panfrost/lib/
Dpan_attributes.c137 unsigned padded_count, in panfrost_vertex_id() argument
147 cfg.divisor_r = __builtin_ctz(padded_count); in panfrost_vertex_id()
148 cfg.divisor_p = padded_count >> (cfg.divisor_r + 1); in panfrost_vertex_id()
159 unsigned padded_count, in panfrost_instance_id() argument
171 if (!instanced || padded_count <= 1) { in panfrost_instance_id()
176 } else if(util_is_power_of_two_or_zero(padded_count)) { in panfrost_instance_id()
183 cfg.divisor_r = __builtin_ctz(padded_count) - 1; in panfrost_instance_id()
185 cfg.stride = panfrost_compute_magic_divisor(padded_count, in panfrost_instance_id()
Dpan_encoder.h80 void panfrost_vertex_id(unsigned padded_count, struct mali_attribute_buffer_packed *attr, bool inst…
81 void panfrost_instance_id(unsigned padded_count, struct mali_attribute_buffer_packed *attr, bool in…
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_context.h143 unsigned padded_count; member
Dpan_context.c260 batch->ctx->padded_count : 1; in pan_emit_draw_descs()
504 ctx->padded_count = panfrost_padded_vertex_count(vertex_count); in panfrost_draw_vbo()
506 ctx->padded_count = vertex_count; in panfrost_draw_vbo()
519 ctx->padded_count * in panfrost_draw_vbo()
Dpan_cmdstream.c1170 unsigned hw_divisor = ctx->padded_count * divisor; in panfrost_emit_vertex_data()
1183 cfg.divisor = ctx->padded_count; in panfrost_emit_vertex_data()
1229 panfrost_vertex_id(ctx->padded_count, &bufs[k], ctx->instance_count > 1); in panfrost_emit_vertex_data()
1236 panfrost_instance_id(ctx->padded_count, &bufs[k], ctx->instance_count > 1); in panfrost_emit_vertex_data()