Displaying 3 results from an estimated 3 matches for "input_semantic_nam".
Did you mean:
  input_semantic_name
  
2009 Sep 12
0
[PATCH 13/13] nv50: add support for point sprites
...EMANTIC_PNTC or sprite_coord_mode has
+	 * to be per FP input instead of per VP output
+	 */
+	memset(pntc, 0, 8 * sizeof(uint32_t));
+
+	for (i = 0; i < fp->cfg.io_nr; i++) {
+		uint8_t sn, si, j = fp->cfg.io[i].tgsi_id;
+		unsigned n = popcnt4(fp->cfg.io[i].mask);
+
+		if (fp->info.input_semantic_name[i] != TGSI_SEMANTIC_GENERIC) {
+			m += n;
+			continue;
+		}
+
+		sn = vp->info.input_semantic_name[j];
+		si = vp->info.input_semantic_index[j];
+
+		if (j < fp->cfg.io_nr && sn == TGSI_SEMANTIC_GENERIC) {
+			ubyte mode =
+				nv50->rasterizer->pipe.sprite_coord_mode[s...
2009 Sep 12
0
[PATCH 10/13] nv50: proper linkage between VP and FP
...;
+		unsigned n = 0, m = pc->attr_nr - flat_nr;
 
-			for (c = 0; c < 4; c++) {
-				/* XXX: secondary colour, tbd */
-				if (fcol < 0x40 && pc->attr[fcol * 4 + c].acc)
-					pc->p->cfg.fp.regs[0] += 0x00010000;
+		int tgsi_off = (TGSI_SEMANTIC_POSITION ==
+				p->info.input_semantic_name[0]) ? 0 : 1;
+
+		/* non-flat interpolants have to be mapped to
+		 * the lower hardware IDs, so sort them:
+		 */
+		for (i = 0; i < pc->attr_nr; i++) {
+			if (pc->interp_mode[i] == INTERP_FLAT)
+				p->cfg.io[m++].tgsi_id = i + tgsi_off;
+			else {
+				if (!(pc->interp_mode[i] &...
2015 May 24
19
[RFC PATCH 00/11] Implement ARB_cull_distance
This patch series adds the needed support for this extension to the various
parts of mesa to finally enable it for nvc0.
Dave Airlie (1):
  glsl: lower cull_distance into cull_distance_mesa
Tobias Klausmann (10):
  glapi: add GL_ARB_cull_distance
  mesa/main: add support for GL_ARB_cull_distance
  mesa/prog: Add varyings for arb_cull_distance
  mesa/st: add support for GL_ARB_cull_distance