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

Discrepancy in unsized DEPTH_STENCIL handling between Firefox and Chrome #2902

Open
kenrussell opened this issue Jun 12, 2019 · 2 comments
Open
Assignees

Comments

@kenrussell
Copy link
Member

In mrdoob/three.js#16756 it was pointed out that Firefox's WebGL 2.0 implementation seems to be allowing the unsized DEPTH_STENCIL format as an argument to renderbufferStorageMultisample, while Chrome's implementation rejects it.

WebGL 2.0 and OpenGL ES 3.0 tightened the rules around texture and renderbuffer format specification so a test should be written to make all implementations behave identically. Ideally it would be an error to specify the unsized DEPTH_STENCIL format in WebGL 2.0.

CC @jdashg

@kdashg
Copy link
Contributor

kdashg commented Jun 18, 2019

We process renderbufferStorage as renderbufferStorageMultisample(samples=0), so I'd prefer to Chrome to expand what it accepts for renderbufferStorageMultisample, and maintain this layered structure of these entrypoints.

@kdashg kdashg self-assigned this Feb 27, 2020
@kdashg
Copy link
Contributor

kdashg commented Feb 27, 2020

This is easy enough to fix I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants