All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 101224] texelFetch(usampler) returns black color
@ 2017-05-29  6:21 bugzilla-daemon
  2017-06-12 14:14 ` bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-05-29  6:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1623 bytes --]

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@lists.freedesktop.org
          Reporter: pmjobin@gmail.com
        QA Contact: dri-devel@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.

[-- Attachment #1.2: Type: text/html, Size: 3154 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-06-18 21:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-29  6:21 [Bug 101224] texelFetch(usampler) returns black color bugzilla-daemon
2017-06-12 14:14 ` bugzilla-daemon
2017-06-12 14:42 ` bugzilla-daemon
2017-06-13  6:17 ` bugzilla-daemon
2017-06-13  7:56 ` bugzilla-daemon
2017-06-14 15:08 ` bugzilla-daemon
2017-06-18 21:19 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.