nv30: hmm, no buffer for texture

This commit is contained in:
Patrice Mandin
2008-03-18 13:34:26 +01:00
parent a514aeb778
commit e4b5008de4
@@ -64,6 +64,8 @@ nv30_emit_hw_state(struct nv30_context *nv30)
for (i = 0; i < 16; i++) {
if (!(nv30->fp_samplers & (1 << i)))
continue;
if (!nv30->tex[i].buffer)
continue;
BEGIN_RING(rankine, NV34TCL_TX_OFFSET(i), 2);
OUT_RELOCl(nv30->tex[i].buffer, 0, NOUVEAU_BO_VRAM |
NOUVEAU_BO_GART | NOUVEAU_BO_RD);