KhronosGroup / KhronosGroup/WebGL
Discrepancy in unsized DEPTH_STENCIL handling between Firefox and Chrome
Open
- Dominant language
- HTML
- Stars
- 2.9k
- Forks
- 703
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
In https://github.com/mrdoob/three.js/issues/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
Contributor guide
Assessment
This issue has not been assessed yet.