文件名称:glsl-optimizer-master
-
所属分类:
- 标签属性:
- 上传时间:2013-05-06
-
文件大小:1.88mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
GLSL优化算法,用c++语言编写,适合学习计算数学的和工科类的运用-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.
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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
glsl-optimizer-master/
glsl-optimizer-master/.gitattributes
glsl-optimizer-master/.gitignore
glsl-optimizer-master/CMakeLists.txt
glsl-optimizer-master/README.md
glsl-optimizer-master/autogen.sh
glsl-optimizer-master/contrib/
glsl-optimizer-master/contrib/glslopt/
glsl-optimizer-master/contrib/glslopt/Main.cpp
glsl-optimizer-master/contrib/glslopt/Makefile
glsl-optimizer-master/contrib/glslopt/Readme
glsl-optimizer-master/contrib/glslopt/SourceFiles
glsl-optimizer-master/contrib/glslopt/glslopt.bdgcfg
glsl-optimizer-master/contrib/glslopt/glslopt.sln
glsl-optimizer-master/contrib/glslopt/glslopt.vcproj
glsl-optimizer-master/contrib/staticlib/
glsl-optimizer-master/contrib/staticlib/Build/
glsl-optimizer-master/contrib/staticlib/Build/Tool/
glsl-optimizer-master/contrib/staticlib/Build/Tool/SourceFiles
glsl-optimizer-master/contrib/staticlib/Build/Tool/glsloptlib.bdgcfg
glsl-optimizer-master/contrib/staticlib/Build/Tool/glsloptlib.vcproj
glsl-optimizer-master/generateParsers.sh
glsl-optimizer-master/include/
glsl-optimizer-master/include/c99/
glsl-optimizer-master/include/c99/inttypes.h
glsl-optimizer-master/include/c99/stdbool.h
glsl-optimizer-master/include/c99/stdint.h
glsl-optimizer-master/include/c99_compat.h
glsl-optimizer-master/license.txt
glsl-optimizer-master/projects/
glsl-optimizer-master/projects/vs2010/
glsl-optimizer-master/projects/vs2010/glsl_optimizer.sln
glsl-optimizer-master/projects/vs2010/glsl_optimizer_lib.vcxproj
glsl-optimizer-master/projects/vs2010/glsl_optimizer_lib.vcxproj.filters
glsl-optimizer-master/projects/vs2010/glsl_optimizer_tests.vcxproj
glsl-optimizer-master/projects/xcode4/
glsl-optimizer-master/projects/xcode4/glsl_optimizer_lib.xcodeproj/
glsl-optimizer-master/projects/xcode4/glsl_optimizer_lib.xcodeproj/project.pbxproj
glsl-optimizer-master/projects/xcode4/glsl_optimizer_tests.xcodeproj/
glsl-optimizer-master/projects/xcode4/glsl_optimizer_tests.xcodeproj/project.pbxproj
glsl-optimizer-master/removeDeletedByUs.sh
glsl-optimizer-master/src/
glsl-optimizer-master/src/getopt/
glsl-optimizer-master/src/getopt/SConscript
glsl-optimizer-master/src/getopt/getopt.h
glsl-optimizer-master/src/getopt/getopt_long.c
glsl-optimizer-master/src/glsl/
glsl-optimizer-master/src/glsl/.dir-locals.el
glsl-optimizer-master/src/glsl/.gitignore
glsl-optimizer-master/src/glsl/Makefile
glsl-optimizer-master/src/glsl/README
glsl-optimizer-master/src/glsl/SConscript
glsl-optimizer-master/src/glsl/TODO
glsl-optimizer-master/src/glsl/ast.h
glsl-optimizer-master/src/glsl/ast_array_index.cpp
glsl-optimizer-master/src/glsl/ast_expr.cpp
glsl-optimizer-master/src/glsl/ast_function.cpp
glsl-optimizer-master/src/glsl/ast_to_hir.cpp
glsl-optimizer-master/src/glsl/ast_type.cpp
glsl-optimizer-master/src/glsl/builtin_compiler/
glsl-optimizer-master/src/glsl/builtin_compiler/.gitignore
glsl-optimizer-master/src/glsl/builtin_compiler/builtin_stubs.cpp
glsl-optimizer-master/src/glsl/builtin_function.cpp
glsl-optimizer-master/src/glsl/builtin_types.h
glsl-optimizer-master/src/glsl/builtin_variables.cpp
glsl-optimizer-master/src/glsl/builtins/
glsl-optimizer-master/src/glsl/builtins/glsl/
glsl-optimizer-master/src/glsl/builtins/glsl/determinant.glsl
glsl-optimizer-master/src/glsl/builtins/glsl/inverse.glsl
glsl-optimizer-master/src/glsl/builtins/ir/
glsl-optimizer-master/src/glsl/builtins/ir/abs.ir
glsl-optimizer-master/src/glsl/builtins/ir/acos.ir
glsl-optimizer-master/src/glsl/builtins/ir/acosh.ir
glsl-optimizer-master/src/glsl/builtins/ir/all.ir
glsl-optimizer-master/src/glsl/builtins/ir/any.ir
glsl-optimizer-master/src/glsl/builtins/ir/asin.ir
glsl-optimizer-master/src/glsl/builtins/ir/asinh.ir
glsl-optimizer-master/src/glsl/builtins/ir/atan.ir
glsl-optimizer-master/src/glsl/builtins/ir/atanh.ir
glsl-optimizer-master/src/glsl/builtins/ir/ceil.ir
glsl-optimizer-master/src/glsl/builtins/ir/clamp.ir
glsl-optimizer-master/src/glsl/builtins/ir/cos.ir
glsl-optimizer-master/src/glsl/builtins/ir/cosh.ir
glsl-optimizer-master/src/glsl/builtins/ir/cross.ir
glsl-optimizer-master/src/glsl/builtins/ir/dFdx.ir
glsl-optimizer-master/src/glsl/builtins/ir/dFdy.ir
glsl-optimizer-master/src/glsl/builtins/ir/degrees.ir
glsl-optimizer-master/src/glsl/builtins/ir/distance.ir
glsl-optimizer-master/src/glsl/builtins/ir/dot.ir
glsl-optimizer-master/src/glsl/builtins/ir/equal.ir
glsl-optimizer-master/src/glsl/builtins/ir/exp.ir
glsl-optimizer-master/src/glsl/builtins/ir/exp2.ir
glsl-optimizer-master/src/glsl/builtins/ir/faceforward.ir
glsl-optimizer-master/src/glsl/builtins/ir/floatBitsToInt.ir
glsl-optimizer-master/src/glsl/builtins/ir/floatBitsToUint.ir
glsl-optimizer-master/src/glsl/builtins/ir/floor.ir
glsl-optimizer-master/src/glsl/builtins/ir/fract.ir
glsl-optimizer-master/src/glsl/builtins/ir/ftransform.ir
glsl-optimizer-master/src/glsl/builtins/ir/fwidth.ir
glsl-optimizer-master/src/glsl/builtins/ir/greaterThan.ir
glsl-optimizer-master/src/glsl/builtins/ir/greaterThanEqual.ir
glsl-optimizer-master/src/glsl/builtins/ir/intBitsToFloat.ir
glsl-optimizer-master/src/glsl/builtins/ir/inversesqrt.ir
glsl-optimizer-master/src/glsl/builtins/ir/isinf.ir
glsl-optimizer-master/.gitattributes
glsl-optimizer-master/.gitignore
glsl-optimizer-master/CMakeLists.txt
glsl-optimizer-master/README.md
glsl-optimizer-master/autogen.sh
glsl-optimizer-master/contrib/
glsl-optimizer-master/contrib/glslopt/
glsl-optimizer-master/contrib/glslopt/Main.cpp
glsl-optimizer-master/contrib/glslopt/Makefile
glsl-optimizer-master/contrib/glslopt/Readme
glsl-optimizer-master/contrib/glslopt/SourceFiles
glsl-optimizer-master/contrib/glslopt/glslopt.bdgcfg
glsl-optimizer-master/contrib/glslopt/glslopt.sln
glsl-optimizer-master/contrib/glslopt/glslopt.vcproj
glsl-optimizer-master/contrib/staticlib/
glsl-optimizer-master/contrib/staticlib/Build/
glsl-optimizer-master/contrib/staticlib/Build/Tool/
glsl-optimizer-master/contrib/staticlib/Build/Tool/SourceFiles
glsl-optimizer-master/contrib/staticlib/Build/Tool/glsloptlib.bdgcfg
glsl-optimizer-master/contrib/staticlib/Build/Tool/glsloptlib.vcproj
glsl-optimizer-master/generateParsers.sh
glsl-optimizer-master/include/
glsl-optimizer-master/include/c99/
glsl-optimizer-master/include/c99/inttypes.h
glsl-optimizer-master/include/c99/stdbool.h
glsl-optimizer-master/include/c99/stdint.h
glsl-optimizer-master/include/c99_compat.h
glsl-optimizer-master/license.txt
glsl-optimizer-master/projects/
glsl-optimizer-master/projects/vs2010/
glsl-optimizer-master/projects/vs2010/glsl_optimizer.sln
glsl-optimizer-master/projects/vs2010/glsl_optimizer_lib.vcxproj
glsl-optimizer-master/projects/vs2010/glsl_optimizer_lib.vcxproj.filters
glsl-optimizer-master/projects/vs2010/glsl_optimizer_tests.vcxproj
glsl-optimizer-master/projects/xcode4/
glsl-optimizer-master/projects/xcode4/glsl_optimizer_lib.xcodeproj/
glsl-optimizer-master/projects/xcode4/glsl_optimizer_lib.xcodeproj/project.pbxproj
glsl-optimizer-master/projects/xcode4/glsl_optimizer_tests.xcodeproj/
glsl-optimizer-master/projects/xcode4/glsl_optimizer_tests.xcodeproj/project.pbxproj
glsl-optimizer-master/removeDeletedByUs.sh
glsl-optimizer-master/src/
glsl-optimizer-master/src/getopt/
glsl-optimizer-master/src/getopt/SConscript
glsl-optimizer-master/src/getopt/getopt.h
glsl-optimizer-master/src/getopt/getopt_long.c
glsl-optimizer-master/src/glsl/
glsl-optimizer-master/src/glsl/.dir-locals.el
glsl-optimizer-master/src/glsl/.gitignore
glsl-optimizer-master/src/glsl/Makefile
glsl-optimizer-master/src/glsl/README
glsl-optimizer-master/src/glsl/SConscript
glsl-optimizer-master/src/glsl/TODO
glsl-optimizer-master/src/glsl/ast.h
glsl-optimizer-master/src/glsl/ast_array_index.cpp
glsl-optimizer-master/src/glsl/ast_expr.cpp
glsl-optimizer-master/src/glsl/ast_function.cpp
glsl-optimizer-master/src/glsl/ast_to_hir.cpp
glsl-optimizer-master/src/glsl/ast_type.cpp
glsl-optimizer-master/src/glsl/builtin_compiler/
glsl-optimizer-master/src/glsl/builtin_compiler/.gitignore
glsl-optimizer-master/src/glsl/builtin_compiler/builtin_stubs.cpp
glsl-optimizer-master/src/glsl/builtin_function.cpp
glsl-optimizer-master/src/glsl/builtin_types.h
glsl-optimizer-master/src/glsl/builtin_variables.cpp
glsl-optimizer-master/src/glsl/builtins/
glsl-optimizer-master/src/glsl/builtins/glsl/
glsl-optimizer-master/src/glsl/builtins/glsl/determinant.glsl
glsl-optimizer-master/src/glsl/builtins/glsl/inverse.glsl
glsl-optimizer-master/src/glsl/builtins/ir/
glsl-optimizer-master/src/glsl/builtins/ir/abs.ir
glsl-optimizer-master/src/glsl/builtins/ir/acos.ir
glsl-optimizer-master/src/glsl/builtins/ir/acosh.ir
glsl-optimizer-master/src/glsl/builtins/ir/all.ir
glsl-optimizer-master/src/glsl/builtins/ir/any.ir
glsl-optimizer-master/src/glsl/builtins/ir/asin.ir
glsl-optimizer-master/src/glsl/builtins/ir/asinh.ir
glsl-optimizer-master/src/glsl/builtins/ir/atan.ir
glsl-optimizer-master/src/glsl/builtins/ir/atanh.ir
glsl-optimizer-master/src/glsl/builtins/ir/ceil.ir
glsl-optimizer-master/src/glsl/builtins/ir/clamp.ir
glsl-optimizer-master/src/glsl/builtins/ir/cos.ir
glsl-optimizer-master/src/glsl/builtins/ir/cosh.ir
glsl-optimizer-master/src/glsl/builtins/ir/cross.ir
glsl-optimizer-master/src/glsl/builtins/ir/dFdx.ir
glsl-optimizer-master/src/glsl/builtins/ir/dFdy.ir
glsl-optimizer-master/src/glsl/builtins/ir/degrees.ir
glsl-optimizer-master/src/glsl/builtins/ir/distance.ir
glsl-optimizer-master/src/glsl/builtins/ir/dot.ir
glsl-optimizer-master/src/glsl/builtins/ir/equal.ir
glsl-optimizer-master/src/glsl/builtins/ir/exp.ir
glsl-optimizer-master/src/glsl/builtins/ir/exp2.ir
glsl-optimizer-master/src/glsl/builtins/ir/faceforward.ir
glsl-optimizer-master/src/glsl/builtins/ir/floatBitsToInt.ir
glsl-optimizer-master/src/glsl/builtins/ir/floatBitsToUint.ir
glsl-optimizer-master/src/glsl/builtins/ir/floor.ir
glsl-optimizer-master/src/glsl/builtins/ir/fract.ir
glsl-optimizer-master/src/glsl/builtins/ir/ftransform.ir
glsl-optimizer-master/src/glsl/builtins/ir/fwidth.ir
glsl-optimizer-master/src/glsl/builtins/ir/greaterThan.ir
glsl-optimizer-master/src/glsl/builtins/ir/greaterThanEqual.ir
glsl-optimizer-master/src/glsl/builtins/ir/intBitsToFloat.ir
glsl-optimizer-master/src/glsl/builtins/ir/inversesqrt.ir
glsl-optimizer-master/src/glsl/builtins/ir/isinf.ir
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.