https://bugs.freedesktop.org/show_bug.cgi?id=89152
Bug ID: 89152 Summary: glBlitFramebuffer always "bad src/dst multisample pixel formats", when src fbo is multisample Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: osbios@web.de QA Contact: dri-devel@lists.freedesktop.org
Created attachment 113504 --> https://bugs.freedesktop.org/attachment.cgi?id=113504&action=edit simple sdl2 example
If I try to blit from a multisample fbo I always get:
GL_INVALID_OPERATION
or with KHR_debug callback:
GL_INVALID_OPERATION in glBlitFramebufferEXT(bad src/dst multisample pixel formats)
This even happens when the target fbo has the same sample count.
glxinfo |grep OpenGL OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.6.0-devel (git-3f1e128 2015-02-13 trusty-oibaf-ppa) OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 10.6.0-devel (git-3f1e128 2015-02-13 trusty-oibaf-ppa) OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.6.0-devel (git-3f1e128 2015-02-13 trusty-oibaf-ppa) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 OpenGL ES profile extensions:
uname -a Linux c01 3.19.0 #1 SMP Sat Feb 14 23:33:44 CET 2015 x86_64 x86_64 x86_64 GNU/Linux
https://bugs.freedesktop.org/show_bug.cgi?id=89152
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|Drivers/Gallium/radeonsi |Mesa core Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org QA Contact|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org
--- Comment #1 from Michel Dänzer michel@daenzer.net --- I'm hitting several other GL error conditions first:
Mesa: User error: GL_INVALID_VALUE in glSampleMaski(index) Mesa: User error: GL_INVALID_ENUM in glFramebufferTextureLayer(target=0x1) Mesa: User error: GL_INVALID_ENUM in glDrawElementsInstanced(mode=8ca8) Mesa: User error: GL_INVALID_OPERATION in glFramebufferTexture Mesa: User error: GL_INVALID_ENUM in glBindRenderbufferEXT(target) glGetError = GL_INVALID_VALUE
Try running the app with a debugging build of Mesa in gdb and setting a breakpoint on _mesa_error.
dri-devel@lists.freedesktop.org