简体   繁体   中英

webgl highp fragment support

http://webglstats.com/ seems to not have information on what percentage of devices/browsers support highp in the fragment shader.

Most sources report that highp won't work on older mobile hardware, and this SO post seems to indicate that most Intel GPUs (back in 2011) don't support it. I'm guessing the vast majority of hardware nowadays support it but I'm looking for some hard numbers.

Supporting highp in fragment shaders is optional in OpenGL ES 2.0, mandatory in OpenGL ES 3.0, so a quick and dirty way to be sure it to check if the device support OpenGL ES 3.0. For that reason there is still a vast amount of mid-end mobile hardware out there which doesn't support OpenGL ES 3.0 and does not implement the optional highp support (Mali-300/400/450 GPUs do not support it, for example).

Pretty much all desktop hardware can support OpenGL 4.0 so tends to have highp in fragment shaders (not aware of anything vagely recent which doesn't).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM