<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Samplers referring to the same texture unit with different types should raise GL_INVALID_OPERATION"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97524#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Samplers referring to the same texture unit with different types should raise GL_INVALID_OPERATION"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97524">bug 97524</a>
from <span class="vcard"><a class="email" href="mailto:maraeo@gmail.com" title="Marek Olšák <maraeo@gmail.com>"> <span class="fn">Marek Olšák</span></a>
</span></b>
<pre>Workaround for radeonsi:
CI-VI:
If the resource type and instruction mismatch (e.g. a buffer constant with an
image instruction, or an image resource with a buffer instruction), the
instruction will be ignored (reads return nothing and writes do not alter
memory).
Solution: Move the buffer descriptor to dwords [0:3] or [8:11] of the sampler
slot (the image or fmask portion, respectively).
Note that on Southern Islands, this condition causes a hang.
SI:
Move the buffer descriptor to dwords [8:11] of the sampler slot. This will only
cause a hang when a buffer is used as sampler2DMS* and vice versa, because
dwords[8:11] are unused by other texture types.</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>