summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvc0/nvc0_pc_emit.c
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-01-29 15:06:22 +0100
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2011-01-29 23:57:52 +0100
commit7fd29468ec68b5cd08222428577a7dbe8f123426 (patch)
tree7e0b42dda999f66201bc1aace3a76a884965b909 /src/gallium/drivers/nvc0/nvc0_pc_emit.c
parent218381d92755fa080bbb5635c0c4ed6d5296b79c (diff)
nvc0: enable PIPE_CAP_ARRAY_TEXTURES and fix them
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_pc_emit.c')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_pc_emit.c2
1 files changed, 2 insertions, 0 deletions
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;