Home
last modified time | relevance | path

Searched refs:hw_divisor (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/panfrost/lib/
Dpan_attributes.c94 panfrost_compute_magic_divisor(unsigned hw_divisor, unsigned *o_shift, unsigned *extra_flags) in panfrost_compute_magic_divisor() argument
100 unsigned shift = util_logbase2(hw_divisor); in panfrost_compute_magic_divisor()
106 double hw_divisor_d = hw_divisor; in panfrost_compute_magic_divisor()
114 uint64_t e = t % hw_divisor; in panfrost_compute_magic_divisor()
Dpan_encoder.h89 panfrost_compute_magic_divisor(unsigned hw_divisor, unsigned *o_shift, unsigned *extra_flags);
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c1681 unsigned hw_divisor = ctx->padded_count * divisor; in panfrost_emit_vertex_data() local
1701 } else if (util_is_power_of_two_or_zero(hw_divisor)) { in panfrost_emit_vertex_data()
1707 cfg.divisor_r = __builtin_ctz(hw_divisor); in panfrost_emit_vertex_data()
1714 panfrost_compute_magic_divisor(hw_divisor, &shift, &extra_flags); in panfrost_emit_vertex_data()