[Bug 76399] [IVB/HSW] ogl-samples: gl-320-texture-integer assertion fails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Mar 23 00:51:04 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=76399
Kenneth Graunke <kenneth at whitecape.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anuj.phogat at gmail.com,
| |kenneth at whitecape.org
Summary|[IVB/HSW] ogl-samples: |[IVB/HSW] ogl-samples:
|gl-320-texture-integer core |gl-320-texture-integer
|dumped |assertion fails
--- Comment #2 from Kenneth Graunke <kenneth at whitecape.org> ---
The program calls glGenerateMipmaps on a RGBA8UI texture, which Anuj disallowed
in:
commit c0a78d7d7b51e125d143e693fdfc78b90f2d68cf
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Fri Nov 2 10:47:33 2012 -0700
mesa: Generate invalid operation in glGenerateMipMap for integer textures
Khronos has reached a conclusion and disallowed following texture formats
in
glGenerateMipMap():
(a) ASTC textures
(b) integer internal formats (e.g., RGBA8UI, RG16I)
(c) textures with stencil formats (e.g., STENCIL_INDEX8)
(d) textures with packed depth/stencil formats (e.g, DEPTH24_STENCIL8)
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=9471
Note: This is a candidate for stable branches.
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
After that, the program asserts that there is no error...and dies.
Reading the Khronos bug, it sounds like the final resolution was to do what
Anuj implemented. However, I see zero text to that effect in the OpenGL 4.3 or
even 4.4 specs. It sounds like they instead adopted a "it ought to work"
resolution.
Reverting Anuj's commit fixes this demo. Ian, do you think we should clarify
with Khronos, or how would you like to proceed?
--
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/20140323/bd81ee21/attachment.html>
More information about the intel-3d-bugs
mailing list