<div dir="ltr">On 9 June 2013 03:30, Chris Forbes <span dir="ltr"><<a href="mailto:chrisf@ijw.co.nz" target="_blank">chrisf@ijw.co.nz</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I noticed that if you write gl_BackColor but not gl_FrontColor, the<br>
value that lands in gl_Color in the fragment shader is junk; same for<br>
the corresponding secondary color builtins. This causes us to fail 12<br>
of the interpolation piglits.<br>
<br>
There's a series from July of last year which was supposed to fix this:<br>
<br>
<a href="http://lists.freedesktop.org/archives/mesa-dev/2012-July/024117.html" target="_blank">http://lists.freedesktop.org/archives/mesa-dev/2012-July/024117.html</a><br>
<br>
... but it looks like it went nowhere.<br>
<br>
What's the current thinking on this? I'm happy to do the work if<br>
there's some consensus.<br></blockquote><div><br></div><div>BTW did you notice that Olivier also sent out a second version of the series? It's here:<br></div><div><br><a href="http://lists.freedesktop.org/archives/mesa-dev/2012-July/024333.html">http://lists.freedesktop.org/archives/mesa-dev/2012-July/024333.html</a><br>
<br>I'd love to see this get picked up again. Reading through the comments on version 2 of the series, it looks like a decision got made on how to handle all the outstanding issues except for one: how do we handle vertex shaders that write to gl_BackColor but not gl_FrontColor? (See the discussion here: <a href="http://lists.freedesktop.org/archives/mesa-dev/2012-July/024153.html">http://lists.freedesktop.org/archives/mesa-dev/2012-July/024153.html</a>). Unfortunately I don't remember the issues involved well enough to have a coherent opinion. I would appreciate hearing what you think.<br>
<br></div><div>Once that issue gets resolved, it looks like it's a fairly simple matter of taking Olivier's second series, making the fixes suggested by Eric in his review comments, and turning it into a v3 series. I'd say go for it.<br>
</div></div></div></div>