From 7fd29468ec68b5cd08222428577a7dbe8f123426 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Sat, 29 Jan 2011 15:06:22 +0100 Subject: nvc0: enable PIPE_CAP_ARRAY_TEXTURES and fix them --- src/gallium/drivers/nvc0/nvc0_pc_emit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/nvc0/nvc0_pc_emit.c') diff --git a/src/gallium/drivers/nvc0/nvc0_pc_emit.c b/src/gallium/drivers/nvc0/nvc0_pc_emit.c index 88a59cfb51..644b9ef61a 100644 --- a/src/gallium/drivers/nvc0/nvc0_pc_emit.c +++ b/src/gallium/drivers/nvc0/nvc0_pc_emit.c @@ -393,6 +393,8 @@ emit_tex(struct nv_pc *pc, struct nv_instruction *i) { int src1 = i->tex_array + i->tex_dim + i->tex_cube; + assert(src1 < 6); + pc->emit[0] = 0x00000086; pc->emit[1] = 0x80000000; -- cgit v1.2.3