<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 - Cemu 1.11.1 via Wine using Mesa Mild exposes LLVM AMDGPU bugs on RX Vega.."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104374">104374</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cemu 1.11.1 via Wine using Mesa Mild exposes LLVM AMDGPU bugs on RX Vega..
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

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

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

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

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

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

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,
two weeks ago tested Cemu 1.11.1 using Wine latest build (say 2.22 or 3.0rc1)
and using Mesa Mild (<a href="https://github.com/mikakev1/mesa_mild_compatibility">https://github.com/mikakev1/mesa_mild_compatibility</a>)
because Cemu needs some OpenGL compat profile which mesa mild massages to get
it working vs Mesa unpatched..
I tested Cemu with The Legend of Zelda™: Breath of the Wild 1.3.1 version..
I built Mesa Mild with LLVM 5.0.0 final and also LLVM 6.0dev at the time and
all trigger the same bug.. 
note Mesa mild updates with Mesa master branch quite frequently so should be
equivalent to 17.4.0dev..
doing it on Intel iGPU HD530 works correctly..
using a RX Vega GPU Cemu launches game correctly but at first graphical scene
breaks compiling a shader..

LLVM ERROR: Cannot select: 0x7f71a053e0e8: f16 = bitcast 0x7f71a054fb58
  0x7f71a054fb58: i32 = srl 0x7f71a054faf0, Constant:i32<16>
    0x7f71a054faf0: i32 = bswap 0x7f71a054abd8
      0x7f71a054abd8: i32 = and 0x7f71a053dcd8, Constant:i32<65535>
        0x7f71a053dcd8: i32 = extract_vector_elt 0x7f71a053dc70,
Constant:i32<0>
          0x7f71a053dc70: v4i32 = bitcast 0x7f71a053b568
            0x7f71a053b568: v4f32,ch = BUFFER_LOAD_FORMAT<LD16[TargetCustom7]>
0x7f71a04d63c8, 0x7f71a053b6a0, 0x7f71a05391b8, Constant:i32<0>,
Constant:i1<0>, Constant:i1<0>
              0x7f71a053b6a0: v4i32,ch =
load<LD16[%23(addrspace=2)](dereferenceable)(invariant)> 0x7f71a04d63c8,
0x7f71a053b638, undef:i64
                0x7f71a053b638: i64 = add 0x7f71a05388c8, Constant:i64<32>
                  0x7f71a05388c8: i64,ch = CopyFromReg 0x7f71a04d63c8,
Register:i64 %vreg4
                  0x7f71a053b5d0: i64 = Constant<32>
                0x7f71a0539358: i64 = undef
              0x7f71a05391b8: i32,ch = CopyFromReg 0x7f71a04d63c8, Register:i32
%vreg15
                0x7f71a0539150: i32 = Register %vreg15
              0x7f71a0539490: i32 = Constant<0>
              0x7f71a053b360: i1 = Constant<0>
              0x7f71a053b360: i1 = Constant<0>
          0x7f71a0539490: i32 = Constant<0>
        0x7f71a0538658: i32 = Constant<65535>
    0x7f71a053fb00: i32 = Constant<16>
In function: main


there is a bug opened on mesa mild
"<a href="https://github.com/mikakev1/mesa_mild_compatibility/issues/1">https://github.com/mikakev1/mesa_mild_compatibility/issues/1</a>"

hope some help from AMDGPU devs..
thanks..</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>