Lines Matching refs:lconstf
505 struct sm1_local_const *lconstf;
652 if (tx->lconstf[i].idx == index) {
653 *src = tx->lconstf[i].reg;
702 if (tx->lconstf[n].idx == index)
706 tx->lconstf = REALLOC(tx->lconstf,
707 (n + 0) * sizeof(tx->lconstf[0]),
708 (n + 8) * sizeof(tx->lconstf[0]));
709 assert(tx->lconstf);
713 tx->lconstf[n].idx = index;
714 tx->lconstf[n].reg = ureg_imm4f(tx->ureg, f[0], f[1], f[2], f[3]);
716 memcpy(tx->lconstf[n].f, f, sizeof(tx->lconstf[n].f));
3588 info->lconstf.data = NULL;
3589 info->lconstf.ranges = NULL;
3708 FREE(tx->lconstf);
4004 FREE(tx->lconstf);
4068 info->lconstf.data = data;
4077 if (tx->lconstf[i].idx < tx->lconstf[k].idx)
4080 indices[n] = tx->lconstf[k].idx;
4081 memcpy(&data[n * 4], &tx->lconstf[k].f[0], 4 * sizeof(float));
4082 tx->lconstf[k].idx = INT_MAX;
4094 info->lconstf.ranges = ranges;
4156 FREE(info->lconstf.data);
4157 FREE(info->lconstf.ranges);