<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Nimbus (running in wine) has rendering issues, objects are semi-transparent"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91117">91117</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Nimbus (running in wine) has rendering issues, objects are semi-transparent
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>10.5
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>URL</th>
          <td>http://store.steampowered.com/app/50000/
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>bisected, regression
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/nouveau
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>nouveau@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>gyebro69@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>nouveau@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>imirkin@alum.mit.edu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The game is available on Steam and needs Wine to run.
The main menu and all the objects in the game appear transparently, see this
screenshot for comparison (images on the right show the correct behaviour,
images on the left is the current state): <a href="http://imgur.com/aDhYehq">http://imgur.com/aDhYehq</a>

The problem doesn't occur with the binary Nvidia drivers (340.76).

Regression introduced by

commit 9e94b87b6012450d714edc6d0c46b15a89d5ce61
Author: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>>
Date:   Thu Jan 1 01:01:13 2015 -0500

    nv50/ir: fold MAD when one of the multiplicands is const

    Fold MAD dst, src0, immed, src2 (or src0/immed swapped) when
     - immed = 0 -> MOV dst, src2
     - immed = +/- 1 -> ADD dst, src0, src2

    These types of MAD patterns were observed in some st/nine shaders.

Reverting the commit on current git fixes the problem for me.

Trace file generated by apitrace:
<a href="https://drive.google.com/open?id=0B-tTbLKBl-tObmNTbmZLV08xMzA&authuser=0">https://drive.google.com/open?id=0B-tTbLKBl-tObmNTbmZLV08xMzA&authuser=0</a>

To reproduce the problem in the demo version you need Wine (preferably the
latest development version) and a Steam account. The game needs native d3dx9_36
('winetricks d3dx9_36').

Fedora 22 32-bit
Mesa 10.6-branchpoint-676-g7de8569
VGA compatible controller: NVIDIA Corporation G92 [GeForce GTS 250] (rev a2)
(prog-if 00 [VGA controller])
Kernel 4.0.5-300.fc22.i686+PAE
xorg-x11-server-Xorg-1.17.2-1.fc22.i686</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>