int w=4096;
int h=4096;
int pitch=4096*4;
- BEGIN_RING(rankine, NV34TCL_VIEWPORT_HORIZ, 5);
+ BEGIN_RING(rankine, NV34TCL_RT_HORIZ, 5);
OUT_RING (w<<16);
OUT_RING (h<<16);
OUT_RING (0x148); /* format */
if (rt_enable & NV34TCL_RT_ENABLE_COLOR0) {
BEGIN_RING(rankine, NV34TCL_COLOR0_PITCH, 1);
- OUT_RING (rt[0]->pitch * rt[0]->cpp);
+ OUT_RING ( (rt[0]->pitch * rt[0]->cpp) | ( (zeta->pitch * zeta->cpp) << 16) );
nv30->rt[0] = rt[0]->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);
nv30->zeta = zeta->buffer;
}
#endif
BEGIN_RING(rankine, NV34TCL_VP_UPLOAD_FROM_ID, 1);
- OUT_RING (vp->exec->start);
+ OUT_RING (/*vp->exec->start*/0);
for (i = 0; i < vp->nr_insns; i++) {
BEGIN_RING(rankine, NV34TCL_VP_UPLOAD_INST(0), 4);
OUT_RINGp (vp->insns[i].data, 4);
}
BEGIN_RING(rankine, NV34TCL_VP_START_FROM_ID, 1);
- OUT_RING (vp->exec->start);
- BEGIN_RING(rankine, NV34TCL_VP_ATTRIB_EN, 2);
- OUT_RING (vp->ir);
- OUT_RING (vp->or);
+// OUT_RING (vp->exec->start);
+ OUT_RING (0);
nv30->vertprog.active = vp;
}