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

[Public WebGL] GLSL bitCount, bitfieldExtract, etc?





Hi,

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.


Regards,
Markus

[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 -----------------------------------------------------------