Lines Matching refs:num_unit
164 static void dump_tex_samp(uint32_t *texsamp, enum state_src_t src, int num_unit,
166 static void dump_tex_const(uint32_t *texsamp, int num_unit, int level);
511 int num_unit = get_tex_count(name); in reg_dump_tex_samp_hi() local
518 dump_tex_samp(buf, STATE_SRC_DIRECT, num_unit, level + 1); in reg_dump_tex_samp_hi()
527 int num_unit = get_tex_count(name); in reg_dump_tex_const_hi() local
534 dump_tex_const(buf, num_unit, level + 1); in reg_dump_tex_const_hi()
1348 dump_tex_samp(uint32_t *texsamp, enum state_src_t src, int num_unit, int level) in dump_tex_samp() argument
1350 for (int i = 0; i < num_unit; i++) { in dump_tex_samp()
1354 if ((num_unit == 16) && (texsamp[0] == 0) && (texsamp[1] == 0)) in dump_tex_samp()
1378 dump_tex_const(uint32_t *texconst, int num_unit, int level) in dump_tex_const() argument
1380 for (int i = 0; i < num_unit; i++) { in dump_tex_const()
1384 if ((num_unit == 16) && (texconst[0] == 0) && (texconst[1] == 0) && in dump_tex_const()
1428 uint32_t num_unit = (dwords[0] >> 22) & 0x1ff; in cp_load_state() local
1491 num_unit *= 16; in cp_load_state()
1493 num_unit *= 4; in cp_load_state()
1511 try_disasm_a3xx(contents, num_unit * 2, level + 2, stdout, in cp_load_state()
1516 dump_shader(ext, contents, num_unit * 2 * 4); in cp_load_state()
1530 num_unit *= 2; in cp_load_state()
1532 dump_float(contents, num_unit * 2, level + 1); in cp_load_state()
1533 dump_hex(contents, num_unit * 2, level + 1); in cp_load_state()
1544 for (i = 0; i < num_unit; i++) { in cp_load_state()
1555 dump_tex_samp(contents, src, num_unit, level); in cp_load_state()
1559 dump_tex_const(contents, num_unit, level); in cp_load_state()
1565 for (i = 0; i < num_unit; i++) { in cp_load_state()
1583 for (i = 0; i < num_unit; i++) { in cp_load_state()
1596 for (i = 0; i < num_unit; i++) { in cp_load_state()
1614 for (i = 0; i < num_unit; i++) { in cp_load_state()
1628 dump_hex(contents, num_unit, level + 1); in cp_load_state()
1634 dump_hex(contents, num_unit * 2, level + 1); in cp_load_state()
1640 dump_hex(contents, num_unit * 4, level + 1); in cp_load_state()
1647 dump_hex(contents, num_unit, level + 1); in cp_load_state()