nv50: fix assertion that caused piglit texturing/texrect-many to fail
authorBen Skeggs <bskeggs@redhat.com>
Wed, 7 Apr 2010 05:06:59 +0000 (15:06 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 7 Apr 2010 05:06:59 +0000 (15:06 +1000)
src/gallium/drivers/nv50/nv50_program.c

index d7e06c93272d5bfcc026258dffa08abdc9b5dca0..2f61888ed99bfe012cc43e0af06b098ae590665e 100644 (file)
@@ -4546,7 +4546,7 @@ nv50_fp_linkage_validate(struct nv50_context *nv50)
        so = so_new(10, 54, 0);
 
        n = (m + 3) / 4;
-       assert(m <= 32);
+       assert(m <= 64);
        if (vp->type == PIPE_SHADER_GEOMETRY) {
                so_method(so, tesla, NV50TCL_GP_RESULT_MAP_SIZE, 1);
                so_data  (so, m);