[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] EXT_shader_texture_lod in WebGL2?
It's very difficult to emulate some of these older ES 2.0 extensions on ES 3.0. Taking EXT_draw_buffers / WEBGL_draw_buffers as an example: this extension only works against ESSL 1.00 shaders. When using ESSL 3.00, it's explicitly disallowed in the spec to write to gl_FragData[i] where i > 0. This means that in order to continue to expose these extensions on top of an ES 3.0 context, the browser will have to translate ESSL 1.00 to ESSL 3.00, and rename the user's variables during API calls like getUniformLocation.
WebGL 2.0 represents a large feature upgrade which unifies the behavior among many types of devices. We expect that it will roll out quickly to most browsers and operating systems. At the present time we would like to focus our efforts on getting it widely deployed (i.e., into Edge and Safari) and getting the conformance suite to pass 100% on all GPU types.
-Ken