Skip to contentSkip to conversation

glBlitFramebuffer always "bad src/dst multisample pixel formats", when src fbo is multisample

Bug 89152 [email protected] 1 participant 2 messages Feb 15, 2015 – Feb 17, 2015

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|Drivers/Gallium/radeonsi    |Mesa core
           Assignee|[email protected] |[email protected].
                   |.org                        |org
         QA Contact|[email protected] |[email protected].
                   |.org                        |org

--- Comment #1 from Michel Dänzer <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel