Quantcast
Channel: AMD Developer Forums: Message List - OpenGL & Vulkan
Viewing all articles
Browse latest Browse all 631

glBlitFramebuffer performance warnings

$
0
0

Hi,
I get the following performance warnings from my glDebugMessageCallback function:

 

glBlitFramebuffer was called with GL_COLOR_BUFFER_BIT set while there was no valid color attachment on the read framebuffer
glBlitFramebuffer was called with GL_COLOR_BUFFER_BIT set while there was no valid color attachment on the draw framebuffer
glBlitFramebuffer was called with either GL_DEPTH_BUFFER_BIT or GL_STENCIL_BUFFER_BIT set while there was no valid depth/stencil attachment on the read framebuffer
glBlitFramebuffer was called with either GL_DEPTH_BUFFER_BIT or GL_STENCIL_BUFFER_BIT set while there was no valid depth/stencil attachment on the draw framebuffer

 

when I am trying to blit a texture attachment into the default framebuffer:

 

    glBindFramebuffer(GL_READ_FRAMEBUFFER, m_fbo);
    glReadBuffer(GL_COLOR_ATTACHMENT3);

 

    glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0);
    glBlitFramebuffer(0, 0, width, height, 0, 0, width, height, GL_COLOR_BUFFER_BIT, GL_NEAREST);

 

The final result looks OK but I don't know what I am doing wrong here.

Can I do something to fix these warnings?

Is this someting related to OpenGL driver or my lack of knowledge?

 

I have:

OpenGL vendor string: ATI Technologies Inc.

OpenGL renderer string: AMD Radeon HD 6800 Series 

OpenGL version string: 1.4 (2.1 (4.3.12614 Compatibility Profile Context 13.25.18))

 

Regards


Viewing all articles
Browse latest Browse all 631

Trending Articles