[Bug 101224] texelFetch(usampler) returns black color
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon May 29 06:21:48 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101224
Bug ID: 101224
Summary: texelFetch(usampler) returns black color
Product: Mesa
Version: 17.1
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel at lists.freedesktop.org
Reporter: pmjobin at gmail.com
QA Contact: dri-devel at lists.freedesktop.org
Created attachment 131561
--> https://bugs.freedesktop.org/attachment.cgi?id=131561&action=edit
texint.c test case + reference images
I isolated the issue in the provided texint.c test case which attempts to draw
two identical bars by sampling a ramp pattern stored inside the red channel of
a texture. The top bar is drawn using sampler1D ('tex' in the code). The bottom
one is drawn using usampler1D and an integer texture ('texint' in the code).
Running the test under Mesa 17.1.1 (Fedora 26) yields a solid black bar for the
usampler1D case (bottom) rather than the expected ramp pattern (ref: bad.png).
Running the same code on the same hardware in Windows 10 + Radeon Crimson
ReLive Edition 17.5.2 yields two identical red ramps (ref: good.png).
Relevant lines from glxinfo:
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD POLARIS10 (DRM 3.10.0 /
4.11.3-300.fc26.x86_64, LLVM 4.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.1.1
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170529/9c5c6e07/attachment.html>
More information about the dri-devel
mailing list