551bdf25bc4e57bea51c54da7e31c44c507e6c9f |
|
22-Jun-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Add support for default layout qualifiers for uniforms. I ended up having to add rallocing of the ast_type_qualifier in order to avoid pulling in ast.h for glsl_parser_extras.h, because I wanted to track an ast_type_qualifier in the state. Fixes piglit ARB_uniform_buffer_object/row-major. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/ast_type.cpp
|
eb7a71dea78152142b456f29e4881c4d3aeb56b6 |
|
30-Mar-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Drop the round-trip through ast_type_specifier for many builtin types. We have lexer recognition of a bunch of our types based on the handling. This code was mapping those recognized tokens to an enum and then to a string of their name. Just drop the enums and provide the string directly in the parser. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/ast_type.cpp
|
2903816aadb281716b6c59a5a48aeadb84a08f50 |
|
23-Oct-2011 |
Chia-I Wu <olv@lunarg.com> |
glsl: add support for GL_OES_EGL_image_external This extension introduces a new sampler type: samplerExternalOES. texture2D (and texture2DProj) can be used to do a texture look up in an external texture. Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/ast_type.cpp
|
497baf4e4a6a0a2f247c7bfb9bf69a2b93c2c19f |
|
10-Feb-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
Use C-style system headers in C++ code to avoid issues with std:: namespace
/external/mesa3d/src/glsl/ast_type.cpp
|
61c59234f916406512b3591f46599cc29a5d8e23 |
|
04-Feb-2011 |
Vinson Lee <vlee@vmware.com> |
glsl: Add using statements for standard library functions. Standard library functions in C++ are in the std namespace. When using C++-style header files for the standard library, some compilers, such as Sun Studio, provide symbols only for the std namespace and not for the global namespace. This patch adds using statements for standard library functions. Another option could have been to prepend standard library function calls with 'std::'. This patch fixes several compilation errors with Sun Studio.
/external/mesa3d/src/glsl/ast_type.cpp
|
08a286c9cc8fecb081057e0f551c88a446c47b6f |
|
17-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
glsl: Add support for default precision statements * Add new field ast_type_specifier::is_precision_statement. * Add semantic checks in ast_type_specifier::hir(). * Alter parser rules accordingly.
/external/mesa3d/src/glsl/ast_type.cpp
|
aaa31bf8f44e1aab0e87160661196b0a16e1d015 |
|
14-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
glsl: Change default value of ast_type_specifier::precision Change default value to ast_precision_none, which denotes the absence of a precision of a qualifier. Previously, the default value was ast_precision_high. This made it impossible to detect if a precision qualifier was present or not.
/external/mesa3d/src/glsl/ast_type.cpp
|
605aacc67d73db0926e0046a90a07fcd93a2d613 |
|
12-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
glsl: Check that interpolation qualifiers do not precede 'varying' ... and 'centroid varying'. The check is performed only in GLSL versions >= 1.30. From page 29 (page 35 of the PDF) of the GLSL 1.30 spec: "interpolation qualifiers may only precede the qualifiers in, centroid in, out, or centroid out in a declaration. They do not apply to the deprecated storage qualifiers varying or centroid varying." Fixes Piglit test spec/glsl-1.30/compiler/interpolation-qualifiers/smooth-varying-01.frag.
/external/mesa3d/src/glsl/ast_type.cpp
|
0e2f8936c8ef872cb464e54a9f09ae0324487147 |
|
12-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
glsl: Add method ast_type_qualifier::interpolation_string() If an interpolation qualifier is present, then the method returns that qualifier's string representation. For example, if the noperspective bit is set, then it returns "noperspective".
/external/mesa3d/src/glsl/ast_type.cpp
|
e24d35a5b59ca1e75b69a32db6294787378a963f |
|
06-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Wrap ast_type_qualifier contents in a struct in a union This will ease adding non-bit fields in the near future.
/external/mesa3d/src/glsl/ast_type.cpp
|
31747155ea3a24190277b125bd188ac8689af719 |
|
28-Jul-2010 |
Aras Pranckevicius <aras@unity3d.com> |
glsl2: Give the path within src/mesa/ for headers instead of relying on -I.
/external/mesa3d/src/glsl/ast_type.cpp
|
28527ed557923aecff5d3b88e5d7776f04389547 |
|
29-Jun-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl2: Add a method for querying if an AST type has any qualifiers.
/external/mesa3d/src/glsl/ast_type.cpp
|
3d6012303c3ce24c75d209267e6914f706d025c5 |
|
25-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Wrap includes of C interfaces with extern "C".
/external/mesa3d/src/glsl/ast_type.cpp
|
29285882676388aacff123e8bdf025904abf8ea9 |
|
25-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Move the compiler to the subdirectory it will live in in Mesa.
/external/mesa3d/src/glsl/ast_type.cpp
|