nvc0: fix geometry program revalidation of clipping params
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 11 Jul 2015 16:47:03 +0000 (12:47 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 25 Jul 2015 06:03:25 +0000 (02:03 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c

index 945e2a6c9bd094bb61e92a13104140cd08ec7068..ce1119c284d3dcf0e9fa33d0d37f957b53c2cdb9 100644 (file)
@@ -339,7 +339,7 @@ nvc0_check_program_ucps(struct nvc0_context *nvc0,
       nvc0_vertprog_validate(nvc0);
    else
    if (likely(vp == nvc0->gmtyprog))
-      nvc0_vertprog_validate(nvc0);
+      nvc0_gmtyprog_validate(nvc0);
    else
       nvc0_tevlprog_validate(nvc0);
 }