Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Algorithm
Title: glsl-optimizer-master Download
 Description: GLSL optimizer A C++ library that takes GLSL shaders, does some GPU-independent optimizations on them and outputs GLSL back. Optimizations are function inlining, dead code removal, copy propagation, constant folding, constant propagation, arithmetic optimizations and so on. Apparently quite a few mobile platforms are pretty bad at optimizing GLSL shaders and unfortunately they also lack offline shader compilers. So using a GLSL optimizer offline before can make the shader run much faster on a platform like that. See performance numbers in this blog post. Almost all actual code is Mesa 3D s GLSL compiler all this library does is spits out optimized GLSL back, and adds GLES type precision handling to the optimizer. This GLSL optimizer is made for Unity s purposes and is built-in in Unity 3 and later. GLSL Optimizer is licensed according to the terms of the MIT license.
 To Search:
File list (Check if you may need any files):
 

glsl-optimizer-master
.....................\.gitattributes
.....................\.gitignore
.....................\CMakeLists.txt
.....................\README.md
.....................\autogen.sh
.....................\contrib
.....................\.......\glslopt
.....................\.......\.......\Main.cpp
.....................\.......\.......\Makefile
.....................\.......\.......\Readme
.....................\.......\.......\SourceFiles
.....................\.......\.......\glslopt.bdgcfg
.....................\.......\.......\glslopt.sln
.....................\.......\.......\glslopt.vcproj
.....................\.......\staticlib
.....................\.......\.........\Build
.....................\.......\.........\.....\Tool
.....................\.......\.........\.....\....\SourceFiles
.....................\.......\.........\.....\....\glsloptlib.bdgcfg
.....................\.......\.........\.....\....\glsloptlib.vcproj
.....................\generateParsers.sh
.....................\include
.....................\.......\c99
.....................\.......\...\inttypes.h
.....................\.......\...\stdbool.h
.....................\.......\...\stdint.h
.....................\.......\c99_compat.h
.....................\license.txt
.....................\projects
.....................\........\vs2010
.....................\........\......\glsl_optimizer.sln
.....................\........\......\glsl_optimizer_lib.vcxproj
.....................\........\......\glsl_optimizer_lib.vcxproj.filters
.....................\........\......\glsl_optimizer_tests.vcxproj
.....................\........\xcode4
.....................\........\......\glsl_optimizer_lib.xcodeproj
.....................\........\......\............................\project.pbxproj
.....................\........\......\glsl_optimizer_tests.xcodeproj
.....................\........\......\..............................\project.pbxproj
.....................\removeDeletedByUs.sh
.....................\src
.....................\...\getopt
.....................\...\......\SConscript
.....................\...\......\getopt.h
.....................\...\......\getopt_long.c
.....................\...\glsl
.....................\...\....\.dir-locals.el
.....................\...\....\.gitignore
.....................\...\....\Makefile
.....................\...\....\README
.....................\...\....\SConscript
.....................\...\....\TODO
.....................\...\....\ast.h
.....................\...\....\ast_array_index.cpp
.....................\...\....\ast_expr.cpp
.....................\...\....\ast_function.cpp
.....................\...\....\ast_to_hir.cpp
.....................\...\....\ast_type.cpp
.....................\...\....\builtin_compiler
.....................\...\....\................\.gitignore
.....................\...\....\................\builtin_stubs.cpp
.....................\...\....\builtin_function.cpp
.....................\...\....\builtin_types.h
.....................\...\....\builtin_variables.cpp
.....................\...\....\builtins
.....................\...\....\........\glsl
.....................\...\....\........\....\determinant.glsl
.....................\...\....\........\....\inverse.glsl
.....................\...\....\........\ir
.....................\...\....\........\..\abs.ir
.....................\...\....\........\..\acos.ir
.....................\...\....\........\..\acosh.ir
.....................\...\....\........\..\all.ir
.....................\...\....\........\..\any.ir
.....................\...\....\........\..\asin.ir
.....................\...\....\........\..\asinh.ir
.....................\...\....\........\..\atan.ir
.....................\...\....\........\..\atanh.ir
.....................\...\....\........\..\ceil.ir
.....................\...\....\........\..\clamp.ir
.....................\...\....\........\..\cos.ir
.....................\...\....\........\..\cosh.ir
.....................\...\....\........\..\cross.ir
.....................\...\....\........\..\dFdx.ir
.....................\...\....\........\.

CodeBus www.codebus.net