<div dir="ltr">What piglit test does this fix?<br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 11, 2015 at 7:13 PM, Ilia Mirkin <span dir="ltr"><<a href="mailto:imirkin@alum.mit.edu" target="_blank">imirkin@alum.mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>><br>
Cc: <a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.freedesktop.org</a><br>
---<br>
<br>
Even though in practice a geometry program will never be using UCP's,<br>
we still were revalidating (aka recompiling) the program when more<br>
clip planes became enabled (which also are used for regular clip<br>
distances).<br>
<br>
This seems like it should have led to massive fail, but I guess you<br>
don't change the number of clip planes when using geometry shaders.<br>
But I'm going to put this through a full piglit run just in case<br>
there's something I'm missing.<br>
<br>
 src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c b/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c<br>
index 785e52e..11f2b10 100644<br>
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c<br>
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c<br>
@@ -339,7 +339,7 @@ nvc0_check_program_ucps(struct nvc0_context *nvc0,<br>
       nvc0_vertprog_validate(nvc0);<br>
    else<br>
    if (likely(vp == nvc0->gmtyprog))<br>
-      nvc0_vertprog_validate(nvc0);<br>
+      nvc0_gmtyprog_validate(nvc0);<br>
    else<br>
       nvc0_tevlprog_validate(nvc0);<br>
 }<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.3.6<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div>Best regards,</div>Samuel Pitoiset.<br></div>
</div></div>