# gamma are missing because they have not been converted to use the new
# interface.
-DRI_DIRS = intel_winsys nouveau_winsys
+DRI_DIRS = nouveau_winsys
nv30->rt[1] = rt[1]->buffer;
}
- if (zeta_format) {
- /* XXX allocate LMA */
-/* BEGIN_RING(rankine, NV34TCL_LMA_DEPTH_OFFSET, 1);
- OUT_RING(0);*/
- BEGIN_RING(rankine, NV34TCL_ZETA_PITCH, 1);
- OUT_RING (zeta->pitch * zeta->cpp);
+ if (zeta_format)
+ {
nv30->zeta = zeta->buffer;
}
}
while (count) {
- push = MIN2(count, 2046);
+ push = MIN2(count, 2047 * 2);
- BEGIN_RING_NI(rankine, NV40TCL_VB_ELEMENT_U16, push);
+ BEGIN_RING_NI(rankine, NV40TCL_VB_ELEMENT_U16, push >> 1);
for (i = 0; i < push; i+=2)
OUT_RING((elts[i+1] << 16) | elts[i]);
}
while (count) {
- push = MIN2(count, 2046);
+ push = MIN2(count, 2047 * 2);
- BEGIN_RING_NI(rankine, NV34TCL_VB_ELEMENT_U16, push);
+ BEGIN_RING_NI(rankine, NV34TCL_VB_ELEMENT_U16, push >> 1);
for (i = 0; i < push; i+=2)
OUT_RING((elts[i+1] << 16) | elts[i]);