<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 6, 2015 at 6:38 PM,  <span dir="ltr"><<a href="mailto:io.github.apitrace@io7m.com" target="_blank">io.github.apitrace@io7m.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">'Lo.<br>
<br>
All of your proposed improvements sound good!<br>
<br>
On RG textures:<br>
<br>
On 2015-01-05T23:00:58 +0000<br>
<span class="">José Fonseca <<a href="mailto:jose.r.fonseca@gmail.com">jose.r.fonseca@gmail.com</a>> wrote:<br>
<br>
> ><br>
> > Additionally, it seems as though it often fails to display RG textures<br>
> > properly, although this is a separate issue that I'll be filing a bug<br>
> > for as soon as I can come up with a minimal test case.<br>
> ><br>
><br>
> The GUI assumes one channel means Intensity (not R) and two channels means<br>
> Luminance-Alpha, not RG.  That said, I thought I had fixed this now (R/RG<br>
> textures will be dumped as RGB, with B==0, so the R and G colors don't get<br>
> reinterpreted)<br>
<br>
</span>The issue I'm seeing is this: When an RG texture is bound as a color<br>
attachment of a framebuffer, apitrace seems to show the contents of the<br>
attachment as:<br>
<br>
  <a href="http://waste.io7m.com/2015/01/06/rg.png" target="_blank">http://waste.io7m.com/2015/01/06/rg.png</a><br>
<br>
But when the texture that backs that color attachment is later bound to<br>
a texture unit, apitrace shows the contents as:<br>
<br>
  <a href="http://waste.io7m.com/2015/01/06/rg_correct.png" target="_blank">http://waste.io7m.com/2015/01/06/rg_correct.png</a><br>
<br>
There are no actual rendering issues, the latter image is accurate. I'm<br>
still trying to come up with a minimal case that reliably reproduces<br>
it, as it doesn't always seem to happen. It's also fairly recent<br>
behaviour; I update to HEAD every few weeks or so.</blockquote><div><br></div><div>Stride is wrong somehow.</div><div><br></div><div>If you can provide a .trace + call number where this can be seen, that's all I need.</div><div><br></div><div>Jose</div></div></div></div>