Displaying 2 results from an estimated 2 matches for "nv_arch_20".
2010 Feb 09
1
texture dimension limits in ddx
...lt; curro_> shining: it can do 4096x4096 with no problems, IIRC
And finally I saw that nouveau_exa_init does this :
       if (pNv->Architecture >= NV_ARCH_50) {
                exa->maxX = 8192;
                exa->maxY = 8192;
        } else
        if (pNv->Architecture >= NV_ARCH_20) {
                exa->maxX = 4096;
                exa->maxY = 4096;
        } else {
                exa->maxX = 2048;
                exa->maxY = 2048;
        }
But these 3 values are hardcoded everywhere in the code.
It might not be possible to use exa->maxX/Y directly as some...
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...+
+	/* If repeat is set we're always handling a 1x1 texture with
+	 * ARGB/XRGB destination, in that case we change the format to
+	 * use the POT (swizzled) matching format.
+	 */
+	struct pict_format *format =
+		pict->repeat != RepeatNone ? nv10_tex_format_pot :
+		pNv->Architecture == NV_ARCH_20 ? nv20_tex_format_rect :
+		nv10_tex_format_rect;
+
+	for (; format->hw; format++) {
+		if (format->exa == pict->format)
+			return format->hw;
+	}
+
+	return 0;
+}
 
+static int
+get_rt_format(PicturePtr pict)
+{
+	struct pict_format *format = nv10_rt_format;
+
+	for (; format->hw;...