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

/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_encoder.h96 panfrost_vertex_id(unsigned padded_count, argument
102 cfg.divisor_r = __builtin_ctz(padded_count);
103 cfg.divisor_p = padded_count >> (cfg.divisor_r + 1);
113 panfrost_instance_id(unsigned padded_count, argument
118 if (!instanced || padded_count <= 1) {
123 } else if(util_is_power_of_two_or_zero(padded_count)) {
124 /* Can't underflow since padded_count >= 2 */
125 cfg.divisor_r = __builtin_ctz(padded_count) - 1;
128 panfrost_compute_magic_divisor(padded_count,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/
H A Dpan_context.h179 unsigned padded_count; member in struct:panfrost_context
H A Dpan_cmdstream.c1681 unsigned hw_divisor = ctx->padded_count * divisor;
1699 cfg.divisor = ctx->padded_count;
1744 panfrost_vertex_id(ctx->padded_count, &bufs[k], ctx->instance_count > 1);
1751 panfrost_instance_id(ctx->padded_count, &bufs[k], ctx->instance_count > 1);
2501 batch->ctx->padded_count : 1;
2826 ctx->padded_count = panfrost_padded_vertex_count(vertex_count);
2828 ctx->padded_count = vertex_count;
2853 ctx->padded_count *
2922 ctx->instance_count = ctx->vertex_count = ctx->padded_count = 0;

Completed in 8 milliseconds