Home
last modified time | relevance | path

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

/third_party/mesa3d/src/panfrost/lib/
Dpan_encoder.h99 cfg.divisor_r = __builtin_ctz(padded_count); in panfrost_vertex_id()
100 cfg.divisor_p = padded_count >> (cfg.divisor_r + 1); in panfrost_vertex_id()
103 cfg.divisor_r = 0x1F; in panfrost_vertex_id()
118 cfg.divisor_r = 0x1F; in panfrost_instance_id()
122 cfg.divisor_r = __builtin_ctz(padded_count) - 1; in panfrost_instance_id()
126 &cfg.divisor_r, &cfg.divisor_e); in panfrost_instance_id()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_cs.c201 cfg.divisor_r = __builtin_ctz(divisor); in panvk_emit_attrib_buf()
204 unsigned divisor_r = 0, divisor_e = 0; in panvk_emit_attrib_buf() local
206 panfrost_compute_magic_divisor(divisor, &divisor_r, &divisor_e); in panvk_emit_attrib_buf()
212 cfg.divisor_r = divisor_r; in panvk_emit_attrib_buf()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c2120 cfg.divisor_r = __builtin_ctz(hw_divisor); in panfrost_emit_vertex_data()
2139 cfg.divisor_r = shift; in panfrost_emit_vertex_data()
4227 cfg.divisor_r = __builtin_ctz(el.instance_divisor); in panfrost_pack_attribute()
4235 &cfg.divisor_r, &cfg.divisor_e); in panfrost_pack_attribute()