glBlitFramebuffer always "bad src/dst multisample pixel formats", when src fbo is multisample
Submitted by Frederik vom Hofe
Assigned to mes..@..op.org
Description
Created attachment 113504 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-3f1e1287 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-3f1e1287 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-3f1e1287 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 (closed) SMP Sat Feb 14 23:33:44 CET 2015 x86_64 x86_64 x86_64 GNU/Linux
Attachment 113504, "simple sdl2 example":
msBlitBugExample.cpp
Version: git