[Bug 76496] [IVB/HSW] ogl-samples: gl-330-texture-rect assertion fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 31 01:08:39 PDT 2014


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

--- Comment #2 from Iago Toral <itoral at igalia.com> ---
(In reply to comment #1)
> Apparently, the test calls glTexParameteri with a pname of
> GL_TEXTURE_MAX_LEVEL and param value of 0.
> 
> I don't see any text offhand which state you /can't/ do that, but given that
> rectangle textures don't support mipmapping, it seems weird...

>From http://www.opengl.org/wiki/Rectangle_Texture:

"Rectangle textures contain exactly one image; they cannot have mipmaps.
Therefore, any texture parameters that depend on LODs are irrelevant when used
with rectangle textures; attempting to set these parameters to any value other
than 0 will result in an error."

Based on this I understand that that setting a value of 0 for
GL_TEXTURE_MAX_LEVEL should not produce an error in this case.

I sent a patch to the mailing list:
http://lists.freedesktop.org/archives/mesa-dev/2014-March/056844.html

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140331/8b02bece/attachment-0001.html>


More information about the intel-3d-bugs mailing list