search for: exec_size

Displaying 3 results from an estimated 3 matches for "exec_size".

Did you mean: excersize
2009 Jun 21
0
[PATCH] nv50: initial support for IF, ELSE, ENDIF insns
...hw] = dst; - dst->hw = src->hw; - - FREE(src); -} - /* release the hardware resource held by r */ static void release_hw(struct nv50_pc *pc, struct nv50_reg *r) @@ -351,6 +343,11 @@ emit(struct nv50_pc *pc, struct nv50_program_exec *e) p->exec_head = e; p->exec_tail = e; p->exec_size += (e->inst[0] & 1) ? 2 : 1; + + if (pc->join_on) { + e->inst[1] |= 0x00000002; + pc->join_on = FALSE; + } } static INLINE void set_long(struct nv50_pc *, struct nv50_program_exec *); @@ -524,6 +521,28 @@ emit_mov_immdval(struct nv50_pc *pc, struct nv50_reg *dst, float f) FR...
2009 Jun 21
0
[PATCH] nv50: don't allocate in the param buffer
...am.h b/src/gallium/drivers/nv50/nv50_program.h index ac5230d..2b7cffd 100644 --- a/src/gallium/drivers/nv50/nv50_program.h +++ b/src/gallium/drivers/nv50/nv50_program.h @@ -32,11 +32,11 @@ struct nv50_program { struct nv50_program_exec *exec_head; struct nv50_program_exec *exec_tail; unsigned exec_size; - struct nouveau_resource *data[2]; - unsigned data_start[2]; - struct nouveau_resource *code; struct nouveau_bo *bo; + struct nouveau_resource *code; + struct nouveau_resource *data[1]; + unsigned data_start[1]; float *immd; unsigned immd_nr; -- 1.6.0.6 --------------0905030501070508...
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