Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add downlevel capability for MSAA textures #2117

Open
Tracked by #3674
kvark opened this issue Oct 26, 2021 · 1 comment
Open
Tracked by #3674

Add downlevel capability for MSAA textures #2117

kvark opened this issue Oct 26, 2021 · 1 comment
Labels
area: api Issues related to API surface help required We need community help to make this happen. type: enhancement New feature or request

Comments

@kvark
Copy link
Member

kvark commented Oct 26, 2021

Is your feature request related to a problem? Please describe.
See #2116
In GL backend, we can't create an MSAA-enabled texture if it's not a pure render target.

Describe the solution you'd like
A new downlevel flag to allow that.

Describe alternatives you've considered
none

Additional context

@Wumpf
Copy link
Member

Wumpf commented Aug 7, 2024

For desktop OpenGL we should be able to support it, but there's a different bug here:
The target for tex_storage_2d_multisample here is never called with the right target - can't seen the code picking anywhere TEXTURE_2D_MULTISAMPLE.

This API is available on OpenGL 4.2+ and GLES 3.1+ so this should be supported!

Another bug in there probably: We assume all storage apis are available in 3.0, but this one is not according to https://docs.gl/es3/glTexStorage2DMultisample
In any case the downlevel feature is still needed for WebGL then which only has multisampled renderbuffers https://registry.khronos.org/webgl/specs/latest/2.0/#3.7.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: api Issues related to API surface help required We need community help to make this happen. type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants