文件名称:glsl-optimizer-master
- 所属分类:
- 数学计算/工程计算
- 资源属性:
- [C/C++] [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-05-06
- 文件大小:
- 1.88mb
- 下载次数:
- 0次
- 提 供 者:
- shigeai*******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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
.....................\.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
.....................\...\....\........\.