[Bug 40223] Mesa: User error: GL_INVALID_OPERATION in glTexImage3D( bad target for depth texture)