Displaying 2 results from an estimated 2 matches for "insn_cur".
Did you mean:
  insn_buf
  
2009 Jun 21
0
[PATCH] nv50: initial support for IF, ELSE, ENDIF insns
...@@ -119,11 +121,17 @@ struct nv50_pc {
 
 	struct nv50_reg r_hpos[4];
 
+	struct nv50_program_exec *if_cond;
+	struct nv50_program_exec *if_insn[MAX_IF_LEVEL];
+	struct nv50_program_exec *if_join[MAX_IF_LEVEL];
+	unsigned if_lvl;
+
 	/* current instruction and total number of insns */
 	unsigned insn_cur;
 	unsigned insn_nr;
 
 	boolean allow32;
+	boolean join_on;
 };
 
 static inline void
@@ -208,22 +216,6 @@ alloc_temp(struct nv50_pc *pc, struct nv50_reg *dst)
 	return NULL;
 }
 
-/* Assign the hw of the discarded temporary register src
- * to the tgsi register dst and free src.
- */
-static void...
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