Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
chromium_org
/
third_party
/
angle
/
361d07ccc613bea797f1ac5da5ad6c420f750fe6
/
src
/
compiler
/
translator
/
Compiler.cpp
a2fbb84
Move CollectVariables to sh namespace.
by Jamie Madill
· 10 years ago
daf5657
For SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS, assign precision to temp variables.
by Zhenyao Mo
· 10 years ago
e740add
Add compiler option SH_REGENERATE_STRUCT_NAMES.
by Zhenyao Mo
· 10 years ago
cd68fe7
Add a compiler option to rewrite vec/mat constructors
by Zhenyao Mo
· 10 years ago
d5512cd
Collect shader outputs and interface block information.
by Jamie Madill
· 10 years ago
23a8a43
Store compact and expanded shader variables.
by Jamie Madill
· 10 years ago
ed27c72
Consolidate shader variable storage in Compiler.
by Jamie Madill
· 10 years ago
a718c1e
Use shader variable types for variable collection.
by Jamie Madill
· 10 years ago
aa72d78
Remove duplicate SH and GL functions.
by Jamie Madill
· 10 years ago
183bde5
Return shader variable information using GLenum values.
by Jamie Madill
· 10 years ago
ce50555
Revert "Return variable type queries using GLenum values."
by Jamie Madill
· 10 years ago
53221f5
Return variable type queries using GLenum values.
by Jamie Madill
· 10 years ago
d4a3a31
Rename ShHandle.h to Compiler.h.
by Jamie Madill
· 10 years ago
68fe74a
Add a compiler query for the translator output type.
by Jamie Madill
· 10 years ago
2d76e5f
Adds resource string generation to ANGLE
by Shannon Woods
· 10 years ago
66e5dda
Fix a bug in init_varyings_without_static_use workaround.
by Zhenyao Mo
· 10 years ago
7faf1a1
Fix a mem corruption in ANGLE translator.
by Zhenyao Mo
· 10 years ago
6654bc9
Fix stack overflow when parsing huge expressions.
by Jamie Madill
· 10 years ago
3cdfcce
Remove SH_MAP_LONG_VARIABLE_NAMES
by Zhenyao Mo
· 10 years ago
550c600
Improvement on loop unrolling with loops indexing sampler arrays
by Zhenyao Mo
· 10 years ago
5508f39
Fix breaking the build with missing GetGlobalMaxTokenSize.
by Jamie Madill
· 10 years ago
88f6e94
Proper support for token max size in WebGL+ES3.
by Jamie Madill
· 10 years ago
4a667fe
Add an option to initialize varyings without static use in vertex shaders
by Zhenyao Mo
· 10 years ago
7cab38b
Add an option to unfold short circuiting in AST.
by Zhenyao Mo
· 11 years ago
6b9cb25
Rename ParseHelper.cpp/h to ParseContext.cpp/h.
by Jamie Madill
· 11 years ago
1773282
Moved the compiler source files into directories based on their project and added a compiler.gypi to generate the compiler projects.
by Geoff Lang
· 11 years ago
[Renamed (93%) from src/compiler/Compiler.cpp]
ac44cd2
Add an option in ANGLE shader translator to initialize gl_Position to vec4(0.0, 0.0, 0.0, 1.0).
by Zhenyao Mo
· 11 years ago
d2d340b
Add static_use to shader variable info query.
by Zhenyao Mo
· 11 years ago
a5a1dfc
Support precision for sampler types.
by Zhenyao Mo
· 11 years ago
bc3f1ac
Minor refactoring of TSymbolTable.
by Alok Priyadarshi
· 11 years ago
74da9f2
Expose varying variables and also precision for all variables.
by Zhenyao Mo
· 11 years ago
8156b6b
Fixed memory leak associated with TLS.
by Alok Priyadarshi
· 11 years ago
1b45214
Fix the reported shader gl_MaxDrawBuffers to be compliant with the new EXT_draw_buffers spec.
by Jamie Madill
· 11 years ago
eb1a010
Add expression complexity and call stack depth limits.
by Jamie Madill
· 11 years ago
075edd8
Refactor location tracking.
by Jamie Madill
· 11 years ago
05a80ce
Validate fragment shader outputs and produce a compile error on missing or conflicting assignments.
by Jamie Madill
· 11 years ago
49a8887
Initialize the symbol table without invoking the parser.
by Nicolas Capens
· 11 years ago
2ac0be9
Place built-in intrinsics into their corresponding symbol table level.
by shannonwoods@chromium.org
· 11 years ago
6e10a0e
Split the built-in symbols over multiple symbol table levels.
by shannonwoods@chromium.org
· 11 years ago
5209de8
Report gl_MaxDrawBuffers as 1 when the MRT extension is disabled, and the implementation value otherwise.
by shannon.woods%transgaming.com@gtempaccount.com
· 11 years ago
5524db0
Add support for new ESSL 3.00 keywords.
by shannon.woods%transgaming.com@gtempaccount.com
· 11 years ago
0bbed38
Accept shader version 300 on ES3 contexts.
by shannon.woods%transgaming.com@gtempaccount.com
· 11 years ago
18b4c4b
Store the BuildInResources in the Compiler class so the draw buffer data can be read during shader output.
by shannon.woods%transgaming.com@gtempaccount.com
· 11 years ago
cbb6b6a
Added preprocessor support for GL_FRAGMENT_PRECISION_HIGH.
by shannon.woods%transgaming.com@gtempaccount.com
· 11 years ago
d64b3da
Fixed 64-bit integer truncation issues in shader translator.
by shannon.woods@transgaming.com
· 11 years ago
1d432bb
Incorporated patch from haixia@ changing the default implementation of
by shannon.woods@transgaming.com
· 11 years ago
da1ed36
Reorganized new sources from recently applied patch into third_party directory.
by shannon.woods@transgaming.com
· 11 years ago
4167cc9
Incorporated BSD-licensed changes implementing array bounds clamping.
by daniel@transgaming.com
· 11 years ago
0aa3b5a
Implement user-defined name hashing.
by daniel@transgaming.com
· 12 years ago
c23f461
Interface design for user-defined name hashing.
by daniel@transgaming.com
· 12 years ago
8d80479
Add Variable Packing checks to ANGLE
by gman@chromium.org
· 12 years ago
8b851c6
Preparation of hooking up the new preprocessor.
by alokp@chromium.org
· 12 years ago
430f5e0
Add the SH_CSS_SHADERS_SPEC flag.
by maxvujovic@gmail.com
· 12 years ago
77222c9
Apply SH_TIMING_RESTRICTIONS to all samplers.
by maxvujovic@gmail.com
· 12 years ago
66ebd01
Add the SH_TIMING_RESTRICTIONS compile flag and dependency graph implementation.
by maxvujovic@gmail.com
· 12 years ago
b9f64aa
Use a global ref-counted singleton for long name map.
by zmo@google.com
· 12 years ago
9996b8e
Rollback r942.
by zmo@google.com
· 12 years ago
4625d27
Long name mapping needs to be consistent between vertex/fragment shaders.
by zmo@google.com
· 12 years ago
2215211
Limit copied uniform and vertex attribute names to the implicit size of the
by kbr@chromium.org
· 13 years ago
a3b4ab4
Further work on the function emulation.
by zmo@google.com
· 13 years ago
f420c42
Add/remove more functions to use shims.
by zmo@google.com
· 13 years ago
32e9731
Emulate certain buil-in functions to work around driver bugs.
by zmo@google.com
· 13 years ago
0c6bb7a
Add an compile option to unroll for-loops with integer indices.
by zmo@google.com
· 13 years ago
09c323a
Add an option to support for GL_OES_EGL_image_external.
by zmo@google.com
· 13 years ago
b1762df
Detect function recursion and reject a shader if detected.
by zmo@google.com
· 13 years ago
dc4b4f8
Always emit precision in shader variable declarations.
by zmo@google.com
· 13 years ago
5601ea0
Implement ES2 backend for Angle translator.
by zmo@google.com
· 13 years ago
24c08c4
Fix the bug that long varying varibales are mapped into different names in fragment/vertex shaders.
by zmo@google.com
· 13 years ago
fd747b8
Implement shader identifier name mapping.
by zmo@google.com
· 13 years ago
0f4cefe
Map D3D calls and HLSL shaders back to GLES2 calls and GLSL ES shaders in PIX.
by apatrick@chromium.org
· 13 years ago
8392138
rewrite buffers implementation to support static buffers more efficiently
by daniel@transgaming.com
· 13 years ago
b59a778
Implemented validation for loop and indexing limitations specified by GLSL ES spec 1.0 Appendix A Section 4 and 5.
by alokp@chromium.org
· 14 years ago
bafcbaa
Moved the global-pool-allocator to TCompiler so that all memory allocated by the compiler can be de-allocated. Earlier the global-pool-allocator kept accumulating memory from all compilers (symbol-table in particular). The memory was only de-allocated when gpu-process exited or ShFinalize() was called. This was a problem for Chromium which keeps the GPU process around for the browser session. Now the memory is de-allocated as soon as the compiler is deleted, which happens when a tab is closed.
by alokp@chromium.org
· 14 years ago
1f29954
Added API to enforce GLSL limitations mandated by WebGL.
by alokp@chromium.org
· 14 years ago
044a5cf
Refactored glslang grammar files to make:
by alokp@chromium.org
· 14 years ago
4888ceb
Made the API of shader translator library consistent.
by alokp@chromium.org
· 14 years ago
570bfc7
Built-in string for vertex shaders can be empty. Nicolas handled this case in r433 but r437 overwrote it.
by alokp@chromium.org
· 14 years ago
07620a5
- Moved the implementation for ShCompile to the compiler class so that internal details about compiler can be encapsulated. Now we do not need to expose built-in symbol table.
by alokp@chromium.org
· 14 years ago