From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101224] texelFetch(usampler) returns black color Date: Tue, 13 Jun 2017 06:17:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1854713540==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DFE7C6E239 for ; Tue, 13 Jun 2017 06:17:42 +0000 (UTC) In-Reply-To: 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 --===============1854713540== Content-Type: multipart/alternative; boundary="14973346620.3Cfb48.18769"; charset="UTF-8" --14973346620.3Cfb48.18769 Date: Tue, 13 Jun 2017 06:17:42 +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 --- Comment #3 from Pierre-Marc Jobin --- Nicolai, First and foremost, I wish to thank you for your time and support. I applied the fix you recommended and now, the testcase behaves as expected. You mention the incompatible filtering parameter "condition being flagged" = but prior to filling a bug report, I did run the testcase against a debug conte= xt (as well as under apitrace) and obtained no diagnostic information whatsoev= er about the texture lack of completeness. I understand that integer textures are incompatible with filtering settings other than GL_NEAREST but I did expect glTextureStorage to take care of tha= t as it receives the internal format argument. It does take care of mipmap setti= ngs afaik. As a suggestion, would it be possible for the driver to at least generate a ARB_debug_output message when linear filtering is applied to an integer texture? (especially since this is a default setting) I wouldn't have suspe= cted a driver bug if I had been made aware of my mistake in some shape or form. Thank you again, PM --=20 You are receiving this mail because: You are the assignee for the bug.= --14973346620.3Cfb48.18769 Date: Tue, 13 Jun 2017 06:17:42 +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

Commen= t # 3 on bug 10122= 4 from Pierre-Marc Jobin
Nicolai,

First and foremost, I wish to thank you for your time and support.

I applied the fix you recommended and now, the testcase behaves as expected.
You mention the incompatible filtering parameter "condition being flag=
ged" but
prior to filling a bug report, I did run the testcase against a debug conte=
xt
(as well as under apitrace) and obtained no diagnostic information whatsoev=
er
about the texture lack of completeness.

I understand that integer textures are incompatible with filtering settings
other than GL_NEAREST but I did expect glTextureStorage to take care of tha=
t as
it receives the internal format argument. It does take care of mipmap setti=
ngs
afaik.

As a suggestion, would it be possible for the driver to at least generate a
ARB_debug_output message when linear filtering is applied to an integer
texture? (especially since this is a default setting) I wouldn't have suspe=
cted
a driver bug if I had been made aware of my mistake in some shape or form.

Thank you again,
PM


You are receiving this mail because:
  • You are the assignee for the bug.
= --14973346620.3Cfb48.18769-- --===============1854713540== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1854713540==--