<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 7, 2015 at 9:58 AM, Emil Velikov <span dir="ltr"><<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 27 February 2015 at 08:06, Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>> wrote:<br>
> We used to loop over all color attachments, and emit FB writes for each<br>
> one, even if the shader didn't write to a corresponding output variable.<br>
> Those color attachments would be filled with garbage (undefined values).<br>
><br>
> Football Manager binds a framebuffer with 4 color attachments, but draws<br>
> to it using a shader that only writes to gl_FragData[0..2]. This meant<br>
> that color attachment 3 would be filled with garbage, resulting in<br>
> rendering artifacts. Now we skip writing to it, fixing rendering.<br>
><br>
> Writes to gl_FragColor initialize outputs[0..nr_color_regions-1] to<br>
> GRFs, while writes to gl_FragData[i] initialize outputs[i].<br>
><br>
> Bugzilla: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=86747" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=86747</a><br>
> Signed-off-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>><br>
> Cc: <a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.freedesktop.org</a><br>
</span>Hi Ken,<br>
<br>
This commit does not seems to have not landed in master. Did it fall<br>
through the cracks ?<br></blockquote><div><br></div><div>I think it did. This series is definitely somethiing we would like to be in 10.5<br></div><div>--Jason<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
Emil<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<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" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</div></div></blockquote></div><br></div></div>