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);
518 dump_tex_samp(buf, STATE_SRC_DIRECT, num_unit, level + 1);
527 int num_unit = get_tex_count(name);
534 dump_tex_const(buf, num_unit, level + 1);
1348 dump_tex_samp(uint32_t *texsamp, enum state_src_t src, int num_unit, int level)
1350 for (int i = 0; i < num_unit; i++) {
1354 if ((num_unit == 16) && (texsamp[0] == 0) && (texsamp[1] == 0))
1378 dump_tex_const(uint32_t *texconst, int num_unit, int level)
1380 for (int i = 0; i < num_unit; i++) {
1384 if ((num_unit == 16) && (texconst[0] == 0) && (texconst[1] == 0) &&
1428 uint32_t num_unit = (dwords[0] >> 22) & 0x1ff;
1491 num_unit *= 16;
1493 num_unit *= 4;
1497 * note: num_unit seems to be # of instruction groups, where
1511 try_disasm_a3xx(contents, num_unit * 2, level + 2, stdout,
1516 dump_shader(ext, contents, num_unit * 2 * 4);
1526 * note: num_unit seems to be # of pairs of dwords??
1530 num_unit *= 2;
1532 dump_float(contents, num_unit * 2, level + 1);
1533 dump_hex(contents, num_unit * 2, level + 1);
1543 /* mipmap consts block just appears to be array of num_unit gpu addr's: */
1544 for (i = 0; i < num_unit; i++) {
1555 dump_tex_samp(contents, src, num_unit, level);
1559 dump_tex_const(contents, num_unit, level);
1565 for (i = 0; i < num_unit; i++) {
1583 for (i = 0; i < num_unit; i++) {
1596 for (i = 0; i < num_unit; i++) {
1614 for (i = 0; i < num_unit; i++) {
1628 dump_hex(contents, num_unit, level + 1);
1634 dump_hex(contents, num_unit * 2, level + 1);
1640 dump_hex(contents, num_unit * 4, level + 1);
1647 dump_hex(contents, num_unit, level + 1);