Imagination PowerVR SDK Blog

bitwise operation in GLSL ES ?


#1

Hello.





In desktop OpenGL, bitwise operations are becomes available


by using the extension, #extension GL_EXT_shader4:enable


or


by specifying higher version, #version 150.








Is there a possible way to use bitwise operations in GLSL ES on PowerVR devices like iPhone 4 ?





I looked for it, but it seems bitwise operators are not defined yet in GLSL ES…





Thanks in advance.





WonwooLee2011-01-19 05:13:47