<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [r300g, bisected] some wine apps renders black"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=70009#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [r300g, bisected] some wine apps renders black"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=70009">bug 70009</a>
              from <span class="vcard"><a class="email" href="mailto:pavel.ondracka@email.cz" title="Pavel Ondračka <pavel.ondracka@email.cz>"> <span class="fn">Pavel Ondračka</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=70009#c3">comment #3</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=70009#c2">comment #2</a>)
> > So is seems, that when I record a trace using r300g driver (RV530) and
> > replay it using either llvmpipe or i965, it works fine. Probably this is
> > just some issue in the r300g driver, uncovered by core mesa changes...
> > EVE online apitrace uploaded here: <a href="http://pavel.ondracka.cz/EVE.trace">http://pavel.ondracka.cz/EVE.trace</a>

> llvmpipe and i965 support more temps than r300 class hw so they don't cross
> the limit.</span >

Yeah, thats why they show no errors and promblems when launching EVE directly,
because wine detects this and generate valid shaders...

However the main problem is a little bit different. Citing one sample shader
from <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - [r300g] EVE online: some shaders are failing"
   href="show_bug.cgi?id=42514">bug 42514</a>:
The shader declares the array VC to have 245 elements:
uniform vec4 VC[245];
then it tries to access the 246th element of the array:
R0.xyz = (VC[245].xyz);


Also citing from wine <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Xorg unexpected crash when typing ssh command on gnome-terminal"
   href="show_bug.cgi?id=29146">bug 29146</a>:
Yeah, we should be better about this. The reason we don't already do this is
that a shader like this may still work if it doesn't actually use the constants
near the end that we remove. We should probably print a message mentioning
something along those lines when such a shader fails to compile or link.

So when i generate the apitrace with r300g in already contains the invalid
shaders, however llvmpipe and softpipe still handle things correctly (e.g.
display majority of stuff) and also r300g did so before the mentioned bad
commit.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>