[Bug 101224] texelFetch(usampler) returns black color

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 13 06:17:43 UTC 2017


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

--- Comment #3 from Pierre-Marc Jobin <pmjobin at gmail.com> ---
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 context
(as well as under apitrace) and obtained no diagnostic information whatsoever
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 that as
it receives the internal format argument. It does take care of mipmap settings
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 suspected
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170613/5d28819b/attachment.html>


More information about the dri-devel mailing list