glsl-optimizer icon indicating copy to clipboard operation
glsl-optimizer copied to clipboard

GLSL optimizer based on Mesa's GLSL compiler. Used to be used in Unity for mobile shader optimization.

Results 51 glsl-optimizer issues
Sort by recently updated
recently updated
newest added

Would be cool to add https://www.npmjs.org/package/node-pre-gyp to avoid having to rebuild the module every time, e.g. when it is installed on Travis.

Running a [rather large](http://glsl.heroku.com/e#17449.0) shader through glsl-optimizer with target ES20 gives me the following error in WebGL; ``` gl.getShaderInfoLog() ERROR: 0:80: 'q__19' : identifiers containing two consecutive underscores (__) are...

Being able to optimize individual shaders is great, but it would be even better if a fragment and vertex shader could be optimized at the same time - this would...

When I try to build master on Ubuntu 12/04, I get the following error: behdad:glsl-optimizer 2 (master)$ make [ 3%] Built target glcpp-library [ 7%] Built target mesa [ 97%]...

-fPIC is basically a requirement for x64 libs. Consider adding it by default? Otherwise many users will repeat this headache.

During fragment shader optimization it can be incorrent function call inserted such as "vector_insert_TODO".

Hi, I have something like that in my shader : ``` glsl bool InRect( vec2 uv ){ return all( greaterThan( uv , vec2(1.0/1024.0) ) && lessThan( uv , vec2(1023.0/1024.0) )...

Why are all opengl context constants hardcoded? Would be nice to set them after construction of the glsl context.

CMake Error at CMakeLists.txt:21 (list): list sub-command REMOVE_ITEM requires two or more arguments. -- Configuring incomplete, errors occurred! Linux chris-LIFEBOOK-AH532 3.8.0-21-generic #32-Ubuntu SMP Tue May 14 22:16:46 UTC 2013 x86_64...

The errors: "./builtincompiler --glsl-es OilPaint.frag Info log for OilPaint.frag: 0:0(0): error: no matching function for call to `texture2D(sampler2D, vec2)' 0:0(0): error: no matching function for call to`min(float, float)'" The fragment...