This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Struggling with EXT_multisampled_render_to_texture on Mali-G76

Hi!
I'm trying to get working multisampled FBO on Samsung Galaxy S10+ with Mali-G76 (Android 10).

Minimal example from spec fails with GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT (8D56) for me.
Tried it with 256x256, 1024x768, 4 samples, GL_MAX_SAMPLES_EXT is 4.
I'm building app with gl2.h and gl2ext.h and ndk-r19c.

OpenGL version: OpenGL ES 3.2 v1.r19p0-01rel0.###other-sha0123456789ABCDEF0### Compatibility profile

My desired setup is:
- bind texture to COLOR_ATTACHMENT_0 (with glFramebufferTexture2DMultisampleEXT)

- bind d24s8 multisampled renderbuffer to both DEPTH_ATTACHMENT and STENCIL_ATTACHMENT (create with glRenderBufferStorageMultisample, bind with glFramebufferRenderBuffer)

Is there any detail I missed about using this extension?

Parents
  • Hi Ramil,

    I notice you're using glRenderBufferStorageMultisample which is, confusingly, different to glRenderBufferStorageMultisampleEXT. I'd try switching to the EXT variant here and hopefully that helps.

    Cheers,
    Christian

Reply
  • Hi Ramil,

    I notice you're using glRenderBufferStorageMultisample which is, confusingly, different to glRenderBufferStorageMultisampleEXT. I'd try switching to the EXT variant here and hopefully that helps.

    Cheers,
    Christian

Children