<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:danylo.piliaiev@gmail.com" title="Danylo <danylo.piliaiev@gmail.com>"> <span class="fn">Danylo</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Insurgency fire effects creates black circles around it"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105895">bug 105895</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>danylo.piliaiev@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Insurgency fire effects creates black circles around it"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105895#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Insurgency fire effects creates black circles around it"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105895">bug 105895</a>
              from <span class="vcard"><a class="email" href="mailto:danylo.piliaiev@gmail.com" title="Danylo <danylo.piliaiev@gmail.com>"> <span class="fn">Danylo</span></a>
</span></b>
        <pre>Hello, I have found the issue which seems not to be in Mesa.

In shader FS_19de0fe8981e63840fa1221c1fc63023e07bc23d.glsl (shader for fire)
there is a 'uniform vec4 pc[2]' which has different values on Intel and Radeon
GPU:
Intel - set program 1564 uniform "pc" (loc 62, type "vec4", length 2, transpose
= false) to: 0 2 0 1 , 0.214041 0 0 0
Radeon - set program 1623 uniform "pc" (loc 62, type "vec4", length 2,
transpose = false) to: 0 2 0 1 , 0.5 0 0 0

In shader 'pc[1].x' is used several times which leads to the found visual
difference. When changing usage of 'pc[1].x' to '0.5' the results are visually
identical.
I have attached the result of changing 'pc[1].x' into '0.5' on Intel GPU.

Also when I debugged Mesa I saw that the memory from where pc uniform is taken
is always changed by game including setting of value '0.214041': 

#0  0xf7c4506a in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0xefddf6ba in ?? () from insurgency2/bin/shaderapidx9.so
#2  0xeda2e338 in ?? () from insurgency2/bin/stdshader_dx9.so
#3  0xeda7a423 in ?? () from insurgency2/bin/stdshader_dx9.so
#4  0xf1d51d28 in ?? () from insurgency2/bin/materialsystem.so
#5  0xf1ce7dba in ?? () from insurgency2/bin/materialsystem.so</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>