glFramebufferTexture2D - Cannot enter frame debugging

Hi,

Nsight fails to enter frame debugging mode when using the following call to detach a texture from a framebuffer: glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENTi, 0, 0, 0), because textarget is equal to 0. Obviously, using the correct textarget fix the problem.

However, this is a valid call according to the opengl specification that says:

“If texture is zero, any image or array of images attached to the attachment point named by attachment is detached. Any additional parameters (level, textarget, and/or layer) are ignored when texture is zero.”

Thanks for your great work!

Hi MorganA,

Would you by chance have a binary reproducible we could use to debug and fix this issue?

-Jeff

Hi Jeff,

I sended you a link to a binary and additional details by private message.

Thanks! I’ll take a look.

I was able to reproduce the issue and have filed a bug. Thanks again.