Lines Matching refs:qregs
436 struct qreg *qregs = ralloc_array(c->def_ht, struct qreg, in ntq_init_ssa_def() local
438 _mesa_hash_table_insert(c->def_ht, def, qregs); in ntq_init_ssa_def()
439 return qregs; in ntq_init_ssa_def()
485 struct qreg *qregs; in ntq_store_dest() local
490 qregs = entry->data; in ntq_store_dest()
492 qregs = ntq_init_ssa_def(c, &dest->ssa); in ntq_store_dest()
494 qregs[chan] = result; in ntq_store_dest()
501 struct qreg *qregs = entry->data; in ntq_store_dest() local
515 last_inst->dst.index = qregs[chan].index; in ntq_store_dest()
521 last_inst->dst.index = qregs[chan].index; in ntq_store_dest()
550 struct qreg *qregs = entry->data; in ntq_get_src() local
551 return qregs[i]; in ntq_get_src()
1848 struct qreg *qregs = ralloc_array(c->def_ht, struct qreg, in ntq_setup_registers() local
1852 _mesa_hash_table_insert(c->def_ht, nir_reg, qregs); in ntq_setup_registers()
1855 qregs[i] = vir_get_temp(c); in ntq_setup_registers()
1866 struct qreg *qregs = ntq_init_ssa_def(c, &instr->def); in ntq_emit_load_const() local
1868 qregs[i] = vir_uniform_ui(c, instr->value[i].u32); in ntq_emit_load_const()
1870 _mesa_hash_table_insert(c->def_ht, &instr->def, qregs); in ntq_emit_load_const()
1876 struct qreg *qregs = ntq_init_ssa_def(c, &instr->def); in ntq_emit_ssa_undef() local
1882 qregs[i] = vir_uniform_ui(c, 0); in ntq_emit_ssa_undef()