[Mesa-dev] [Bug 97524] Samplers referring to the same texture unit with different types should raise GL_INVALID_OPERATION

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 1 02:56:37 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97524

--- Comment #16 from Marek Olšák <maraeo at gmail.com> ---
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161201/db9e95b2/attachment.html>


More information about the mesa-dev mailing list