Some arrays have minimum sizes specified by the OpenGL ES spec and should never be zero. GL_COMBINED_TEXTURE_IMAGE_UNITS and GL_MAX_VERTEX_ATTRIBS have minimum values and should never be 0. When initialising a new context, if these values are 0 that indicates a problem with the GL context. The context is marked as lost to stop further commands from being processed.
rdar://96709463
Pull request: https://github.com/WebKit/WebKit/pull/2439
Committed 252488@main (c277889e5b21): <https://commits.webkit.org/252488@main> Reviewed commits have been landed. Closing PR #2439 and removing active labels.