<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 - LODQ instruction generated with invalid dst mask"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100061">100061</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LODQ instruction generated with invalid dst mask
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>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>Mesa core
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>imirkin@alum.mit.edu
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=130064" name="attach_130064" title="shader_test demonstrating the issue">attachment 130064</a> <a href="attachment.cgi?id=130064&action=edit" title="shader_test demonstrating the issue">[details]</a></span>
shader_test demonstrating the issue
The attached shader_test produces an instruction like this:
2: LODQ TEMP[1], TEMP[1], SAMP[0], 2D
Which is clearly bogus (and hits an assert in nouveau code making sure that the
destmask is a subset of .xy). I tried to get this to happen with a much simpler
shader, but was unsuccessful. Haven't tried whittling this one down yet. It
comes from some radeonsi bug with a trace from Hitman.
My guess is that it's an issue in the st_glsl_to_tgsi register renumbering or
copy-prop passes... somehow. (Mostly because I hate them, and hope that this
hatred is vindicated by them having bugs.)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>