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

sqrt(dot(v, v)) is slower than length(v) on Mali GPUs. (Confirmed with their offline binary compiler.) How does one tweak the glsl optimizer to not replace certain functions? If you could...

``` duplicate symbol __mesa_error_no_memory in: CMakeFiles/glsl_compiler.dir/src/glsl/main.cpp.o libglsl_optimizer.a(standalone_scaffolding.cpp.o) ld: 1 duplicate symbol for architecture x86_64 ``` ``` sh $ clang -v Apple LLVM version 7.0.2 (clang-700.1.81) Target: x86_64-apple-darwin14.5.0 Thread model: posix...

instead of approximations with the recent advent of panorama rendering, it is crucial to have native acos and atan functions emitted into the shader code, because the approximations not always...

handles layout packing specification does not handle explicit layout block location or binding (this does not appear to be available in the high level intermediate representation of interface block type....

Need some help please, I'm getting this error message while trying to build with "cmake . && make": ``` Linking CXX executable glsl_compiler libglsl_optimizer.a(standalone_scaffolding.cpp.o): na função `_mesa_error_no_memory': standalone_scaffolding.cpp:(.text+0x5): múltipla definição...

I had to add this code to fix metal printer: https://github.com/bkaradzic/glsl-optimizer/commit/22be3e72c43a94eba4b9b5648e401298cd7d0440 ``` if (strstr(var->name, "gl_") == var->name) { if (NULL == strstr(var->name, "gl_FragData_") ) { if (!var->data.used && !var->data.assigned) continue;...

Using minGW that comes with Qt toolchain: ``` cmake -G "MinGW Makefiles" mingw32-make -j8 ``` Gives link error: ``` [ 7%] Built target mesa [ 97%] Built target glsl_optimizer Linking...

I found a couple problems with optimization of shaders that make use of OES_EGL_image_external functionality. The first is that "#extension GL_OES_EGL_image_external : enable" statements don't get printed back in the...

This should fix the following issues: https://github.com/aras-p/glsl-optimizer/issues/96 https://github.com/aras-p/glsl-optimizer/issues/105 I've never made a pull request before so I hope I'm doing this right :pray:

Hi there, I have trouble with compiling on Gentoo, I will probably do a fork and just fix this but also want to share. [ 98%] Building CXX object CMakeFiles/glsl_compiler.dir/src/glsl/main.cpp.o...