search for: convert_to_long

Displaying 2 results from an estimated 2 matches for "convert_to_long".

2009 Jun 21
0
[PATCH] nv50: initial support for IF, ELSE, ENDIF insns
...red >= 0) + set_pred(pc, cc, pred, e); + emit(pc, e); +} + +static void +emit_nop(struct nv50_pc *pc, boolean full) +{ + struct nv50_program_exec *e = exec(pc); + + e->inst[0] = 0xf0000000; + if (full) { + set_long(pc, e); + e->inst[1] = 0xe0000000; + } + emit(pc, e); +} + +static void convert_to_long(struct nv50_pc *pc, struct nv50_program_exec *e) { unsigned q = 0, m = ~0; @@ -1420,6 +1474,22 @@ nv50_program_tx_insn(struct nv50_pc *pc, const union tgsi_full_token *tok) FREE(one); } break; + case TGSI_OPCODE_ELSE: + emit_branch(pc, -1, 0, NULL); + pc->if_insn[--pc->if_lvl]-&g...
2009 May 06
2
nv50: shader generation patches
Hi ! I've been trying to improve NV50 shader generation a bit the last couple of weeks, so here is what I've produced. I don't know if it's usable for you or just a pile of horrible hacks, but at least it makes some mesa demos render more correcly, p.e. the teapot (aside from mip-mapping issues of the floor texture), arbfplight, and I think the gears also didn't appear as they