[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] GLSL bitCount, bitfieldExtract, etc?

It looks like these primitives were first exposed to mobile devices in OpenGL ES 3.1. We're actively working on shipping WebGL 2.0 which will track OpenGL ES 3.0, and the working group expects that a revision upgrading WebGL to OpenGL ES 3.1 will follow in the near future.


On Tue, Aug 9, 2016 at 11:59 PM, Markus Schütz <markus_schuetz@gmx.at> wrote:


I just checked the WebGL 2[1] and GLSL ES 3[2] specs and can't find any mention of glsl functions such as bitCount, bitfieldExctract, etc. (see OpenGL 4.3 API Reference Card [3])
They are probably not widely used glsl features but is there any chance to expose those functions to WebGL?
Right now I've implemented bitCount through arithmetic means but it's a lot slower than the bitCount function.


[1] https://www.khronos.org/registry/webgl/specs/latest/2.0/#4.3
[2] https://www.khronos.org/registry/gles/specs/3.0/GLSL_ES_Specification_3.00.3.pdf
[3] https://www.khronos.org/files/opengl43-quick-reference-card.pdf

You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl