From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101224] texelFetch(usampler) returns black color Date: Mon, 29 May 2017 06:21:48 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0452815825==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 1B10889B0C for ; Mon, 29 May 2017 06:21:48 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0452815825== Content-Type: multipart/alternative; boundary="14960389080.0c1aeD5.28497"; charset="UTF-8" --14960389080.0c1aeD5.28497 Date: Mon, 29 May 2017 06:21:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101224 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=3D131561&action=3Dedit texint.c test case + reference images I isolated the issue in the provided texint.c test case which attempts to d= raw 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 bo= ttom 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.pn= g). 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 --=20 You are receiving this mail because: You are the assignee for the bug.= --14960389080.0c1aeD5.28497 Date: Mon, 29 May 2017 06:21:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
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 at=
tachment 131561 [details]
texint.c test case + reference images

I isolated the issue in the provided texint.c test case which attempts to d=
raw
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 bo=
ttom
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.pn=
g).
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.
= --14960389080.0c1aeD5.28497-- --===============0452815825== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0452815825==--