search for: p_oid

Displaying 4 results from an estimated 4 matches for "p_oid".

Did you mean: p_id
2009 Jun 24
0
[PATCH] nv50: fix previous patches
...M_DUMP + tgsi_dump_instruction(insn, 1); +#endif + if (dst->File == TGSI_FILE_TEMPORARY) { for (c = 0; c < 4; c++) { if (!(mask & (1 << c))) @@ -1900,13 +1905,14 @@ static unsigned prep_fp_attrib(struct nv50_pc *pc, int i, unsigned *acc, int *p_mid, int *aid, int *p_oid) { - int c, n, oid = *p_oid, mid = *p_mid; + int c, n, oid, mid = *p_mid; unsigned mask = 0; for (c = 0, n = i * 4; c < 4; c++, n++) { pc->attr[n].type = P_TEMP; pc->attr[n].hw = -1; pc->attr[n].index = i; + oid = (*p_oid)++; if (pc->attr[n].acc == acc[n]) c...
2009 Sep 12
0
[PATCH 09/13] nv50: move allocation of pc regs
...+ continue; + + reg[src->SrcRegister.Index * 4 + k].acc = pc->insn_nr; } } } @@ -1986,8 +1973,7 @@ nv50_tgsi_insn(struct nv50_pc *pc, const union tgsi_full_token *tok) } static unsigned -load_fp_attrib(struct nv50_pc *pc, int i, unsigned *acc, int *mid, - int *aid, int *p_oid) +load_fp_attrib(struct nv50_pc *pc, int i, int *mid, int *aid, int *p_oid) { struct nv50_reg *iv; int oid, c, n; @@ -1997,15 +1983,11 @@ load_fp_attrib(struct nv50_pc *pc, int i, unsigned *acc, int *mid, for (c = 0, n = i * 4; c < 4; c++, n++) { oid = (*p_oid)++; - pc->attr[n].t...
2009 Sep 10
0
[PATCH 02/13] nv50: add functions for swizzle resolution
...(pc, c - 1, fd); + } else { + int c = ffs(fd->DstRegister.WriteMask) - 1; + if ((1 << c) == fd->DstRegister.WriteMask) + return tgsi_dst(pc, c, fd); + } + + return NULL; +} + static unsigned load_fp_attrib(struct nv50_pc *pc, int i, unsigned *acc, int *mid, int *aid, int *p_oid) -- 1.6.3.3 --------------010208090904000401070505 Content-Type: text/plain; name="0003-nv50-add-nv50_tgsi_insn-to-handle-swizzles-safely.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename*0="0003-nv50-add-nv50_tgsi_insn-to-handle-swizzles-safely.patch&...
2009 Sep 12
0
[PATCH 10/13] nv50: proper linkage between VP and FP
...return cnt[val & 0xf]; +} + static void alloc_reg(struct nv50_pc *pc, struct nv50_reg *reg) { @@ -1972,59 +1980,48 @@ nv50_tgsi_insn(struct nv50_pc *pc, const union tgsi_full_token *tok) return TRUE; } -static unsigned -load_fp_attrib(struct nv50_pc *pc, int i, int *mid, int *aid, int *p_oid) +static void +load_interpolant(struct nv50_pc *pc, struct nv50_reg *reg) { - struct nv50_reg *iv; - int oid, c, n; - unsigned mask = 0; - - iv = (pc->interp_mode[i] & INTERP_CENTROID) ? pc->iv_c : pc->iv_p; + struct nv50_reg *iv, **ppiv; + unsigned mode = pc->interp_mode[reg->i...