You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
glRenderbufferStorageMultisampleCoverageNV is provided by the NV_framebuffer_multisample_coverage extension for implementing what Nvidia call Coverage Sampled Antialiasing. It's used in OSG by osg::RenderBuffer::getObjectId following a check to osg::GLExtensions::isRenderbufferMultisampleCoverageSupported() in favour of the non-vendor-specific glRenderbufferStorageMultisample.
osg::GLExtensions::isRenderbufferMultisampleCoverageSupported() just checks whether or not the function pointer is null, which fails on Mesa as it exports the function, despite not implementing the relevant extension, and OSG doesn't check before setting the function pointer here. It seems that on Mesa, the call is a no-op, as I get incomplete FBO errors when OSG uses that path, but not if I replace the call with the non-coverage variant, and I can't find an actual implementation in the Mesa source, but can for the regular variant.
I expect that the most sensible solution would be to check for the presence of the actual extension, either before setting the function pointer or in isRenderbufferMultisampleCoverageSupported.
The text was updated successfully, but these errors were encountered:
glRenderbufferStorageMultisampleCoverageNV
is provided by theNV_framebuffer_multisample_coverage
extension for implementing what Nvidia call Coverage Sampled Antialiasing. It's used in OSG byosg::RenderBuffer::getObjectId
following a check toosg::GLExtensions::isRenderbufferMultisampleCoverageSupported()
in favour of the non-vendor-specificglRenderbufferStorageMultisample
.osg::GLExtensions::isRenderbufferMultisampleCoverageSupported()
just checks whether or not the function pointer is null, which fails on Mesa as it exports the function, despite not implementing the relevant extension, and OSG doesn't check before setting the function pointer here. It seems that on Mesa, the call is a no-op, as I get incomplete FBO errors when OSG uses that path, but not if I replace the call with the non-coverage variant, and I can't find an actual implementation in the Mesa source, but can for the regular variant.I expect that the most sensible solution would be to check for the presence of the actual extension, either before setting the function pointer or in
isRenderbufferMultisampleCoverageSupported
.The text was updated successfully, but these errors were encountered: