Mesa (master): mesa: Copy Geom.UsesEndPrimitive when cloning a geometry program.

Iago Toral Quiroga itoral at kemper.freedesktop.org
Fri Jun 20 07:51:52 UTC 2014


Module: Mesa
Branch: master
Commit: 96a95f48eaf8af2c6ace51531bdd5bfbcf71165e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96a95f48eaf8af2c6ace51531bdd5bfbcf71165e

Author: Iago Toral Quiroga <itoral at igalia.com>
Date:   Mon Jun 16 17:00:15 2014 +0200

mesa: Copy Geom.UsesEndPrimitive when cloning a geometry program.

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>

---

 src/mesa/program/program.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
index b7332fc..988def1 100644
--- a/src/mesa/program/program.c
+++ b/src/mesa/program/program.c
@@ -552,6 +552,7 @@ _mesa_clone_program(struct gl_context *ctx, const struct gl_program *prog)
          gpc->InputType = gp->InputType;
          gpc->Invocations = gp->Invocations;
          gpc->OutputType = gp->OutputType;
+         gpc->UsesEndPrimitive = gp->UsesEndPrimitive;
       }
       break;
    default:




More information about the mesa-commit mailing list