7cfd42cefe1949af51ecced9891f415eca2c0e66 |
|
14-Sep-2012 |
Dave Airlie <airlied@redhat.com> |
mesa/glsl: rename preprocess to glcpp_preprocess This symbol with dricore escapes into the namespace, its too generic, we should prefix it with something just to be nice. Should be applied to stable + 9.0 Acked-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit 88b0790b1ae8864d4ec6196b3939498bbffdbb5f)
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
c824804c6f10eeb58ae91033682ca871c0e373c4 |
|
29-Aug-2012 |
Brian Paul <brianp@vmware.com> |
glsl: s/class/struct/ for ast_type_qualifier To silence an MSVC compiler warning about class vs. struct. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
d5c918f6adb2f7f72a759607c8f76e7616656c13 |
|
16-Jul-2012 |
Tomeu Vizoso <tomeu@tomeuvizoso.net> |
glsl: Add support for OES_standard_derivatives in GLSL ES. Previously, we advertised the extension but the builtin functions were enabled only for GLSL and not for ES. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=52003 Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
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/glsl_parser_extras.h
|
3a90dc22d1c74e8719c95221f15043e7f3e69286 |
|
31-Jul-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Refactor #version validation to be more future-proof. The previous implementation required a flag in _mesa_glsl_parse_state and line of code to initialize it for every version of the shading language we intend to support. As we look to add 150, 330, 400, 410, 420, and beyond, this gets rather unwieldy. This patch retains the switch statement (to reject, say, #version 111), but removes all the bits. Code to check for ctx->API == API_OPENGL_CORE could easily be added to the 110 and 120 cases to reject those. v2: Use _mesa_is_desktop_gl to preserve the existing behavior in the presence of the new API_OPENGL_CORE enumeration. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> [v1]
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
b3c093c79c2ec49c36af37aa290d5ae452149f6e |
|
27-Apr-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Translate the AST for uniform blocks into some IR structures. We're going to need this structure to cross-validate the uniform blocks between shader stages, since unused ir_variables might get dropped. It's also the place we store the RowMajor qualifier, which is not part of the GLSL type (since that would cause a bunch of type equality checks to fail). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
7fabb2b5939c8640075136fec15d6b87bad9c9dd |
|
25-Dec-2011 |
Vincent Lejeune <vljn@ovi.com> |
glsl: Parser handles "#extension GL_ARB_uniform_buffer_object" Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
199771bc325900eb1d3acc7fa03808894a94fdb2 |
|
30-Apr-2012 |
Olivier Galibert <galibert@pobox.com> |
glsl: Scaffolding for ARB_shader_bit_encoding. That adds support for activating the extension. It doesn't actually *do* anything yet, of course. Signed-off-by: Olivier Galibert <galibert@pobox.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
8c99906cf5c8825ada0699f61926864e568ca69a |
|
02-Apr-2012 |
Dylan Noblesmith <nobled@dreamwidth.org> |
glsl: add gl_context member Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
ac5a5b324335195b5a5ed98775ce442c573e7e1d |
|
08-Mar-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Add support for parsing #version 140. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
57e44371a5b6aa8122b6a482ed6bd33e797ea1d2 |
|
30-Jan-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Add error case for switch() with two default cases. Fixes piglit switch-case-duplicated.vert. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
140632190cf41e6a035ca199b181091d4ed46986 |
|
30-Jan-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Throw an error when faced with a duplicated switch() case label. The error message I chose matches gcc's error. Fixes piglit switch-case-duplicated.vert. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
22d81f154fed9e004cca91807808ae3b81b01ced |
|
28-Jan-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Save and restore the whole switch state for nesting. This stuffs them all in a struct for sanity. Fixes piglit glsl-1.30/execution/switch/fs-uniform-nested. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
5c02e2e2de75b9d18ca25b4f1cba38c4a89c5bd0 |
|
08-Nov-2011 |
Dan McCabe <zen3d.linux@gmail.com> |
glsl: Generate IR for switch statements Up until now modifying the GLSL compiler has been pretty straightforward. This is where things get interesting. But still pretty straightforward. Switch statements can be thought of a series of if/then/else statements. Case labels are compared with the value of a test expression and the case statements are executed if the comparison is true. There are a couple of aspects of switch statements that complicate this simple view of the world. The primary one is that cases can fall through sequentially to subsequent case, unless a break statement is encountered, in which case, the switch statement exits completely. But break handling is further complicated by the fact that a break statement can impact the exit of a loop. Thus, we need to coordinate break processing between switch statements and loop statements. The code generated by a switch statement maintains three temporary state variables: int test_value; bool is_fallthru; bool is_break; test_value is initialized to the value of the test expression at the head of the switch statement. This is the value that case labels are compared against. is_fallthru is used to sequentially fall through to subsequent cases and is initialized to false. When a case label matches the test expression, this state variable is set to true. It will also be forced to false if a break statement has been encountered. This forcing to false on break MUST be after every case test. In practice, we defer that forcing to immediately after the last case comparison prior to executing a case statement, but that is an optimization. is_break is used to indicate that a break statement has been executed and is initialized to false. When a break statement is encountered, it is set to true. This state variable is then used to conditionally force is_fallthru to to false to prevent subsequent case statements from executing. Code generation for break statements depends on whether the break statement is inside a switch statement or inside a loop statement. If it inside a loop statement is inside a break statement, the same code as before gets generated. But if a switch statement is inside a loop statement, code is emitted to set the is_break state to true. Just as ASTs for loop statements are managed in a stack-like manner to handle nesting, we also add a bool to capture the innermost switch or loop condition. Note that we still need to maintain a loop AST stack to properly handle for-loop code generation on a continue statement. Technically, we don't (yet) need a switch AST stack, but I am using one for orthogonality with loop statements, in anticipation of future use. Note that a simple boolean stack would have sufficed. We will illustrate a switch statement with its analogous conditional code that a switch statement corresponds to by examining an example. Consider the following switch statement: switch (42) { case 0: case 1: gl_FragColor = vec4(1.0, 2.0, 3.0, 4.0); case 2: case 3: gl_FragColor = vec4(4.0, 3.0, 2.0, 1.0); break; case 4: default: gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0); } Note that case 0 and case 1 fall through to cases 2 and 3 if they occur. Note that case 4 and the default case must be reached explicitly, since cases 2 and 3 break at the end of their case. Finally, note that case 4 and the default case don't break but simply fall through to the end of the switch. For this code, the equivalent code can be expressed as: int test_val = 42; // capture value of test expression bool is_fallthru = false; // prevent initial fall through bool is_break = false; // capture the execution of a break stmt is_fallthru |= (test_val == 0); // enable fallthru on case 0 is_fallthru |= (test_val == 1); // enable fallthru on case 1 is_fallthru &= !is_break; // inhibit fallthru on previous break if (is_fallthru) { gl_FragColor = vec4(1.0, 2.0, 3.0, 4.0); } is_fallthru |= (test_val == 2); // enable fallthru on case 2 is_fallthru |= (test_val == 3); // enable fallthru on case 3 is_fallthru &= !is_break; // inhibit fallthru on previous break if (is_fallthru) { gl_FragColor = vec4(4.0, 3.0, 2.0, 1.0); is_break = true; // inhibit all subsequent fallthru for break } is_fallthru |= (test_val == 4); // enable fallthru on case 4 is_fallthru = true; // enable fallthru for default case is_fallthru &= !is_break; // inhibit fallthru on previous break if (is_fallthru) { gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0); } The code generate for |= and &= uses the conditional assignment capabilities of the IR. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
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/glsl_parser_extras.h
|
b9eb4d8a59699e233255113acafae220c3d8fe3c |
|
09-Aug-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Implement the GL_ARB_conservative_depth extension. It's the same as GL_AMD_conservative_depth. The specs have slight differences in wording, but don't differ in content or behavior. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
0d81b0e18494a80c4326fbc98837842959675869 |
|
30-Jul-2011 |
Paul Berry <stereotype441@gmail.com> |
glsl: Emit function signatures at toplevel, even for built-ins. The ast-to-hir conversion needs to emit function signatures in two circumstances: when a function declaration (or definition) is encountered, and when a built-in function is encountered. To avoid emitting a function signature in an illegal place (such as inside a function), emit_function() checked whether we were inside a function definition, and if so, emitted the signature before the function definition. However, this didn't cover the case of emitting function signatures for built-in functions when those built-in functions are called from inside the constant integer expression that specifies the length of a global array. This failed because when processing an array length, we are emitting IR into a dummy exec_list (see process_array_type() in ast_to_hir.cpp). process_array_type() later checks (via an assertion) that no instructions were emitted to the dummy exec_list, based on the reasonable assumption that we shouldn't need to emit instructions to calculate the value of a constant. This patch changes emit_function() so that it emits function signatures at toplevel in all cases. This partially fixes bug 38625 (https://bugs.freedesktop.org/show_bug.cgi?id=38625). The remainder of the fix is in the patch that follows. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
9c4445de6e69d021491361d884bf172c05189d61 |
|
24-Jun-2011 |
Paul Berry <stereotype441@gmail.com> |
glsl: Changed extension enable bits to bools. These were previously 1-bit-wide bitfields. Changing them to bools has a negligible performance impact, and allows them to be accessed by offset as well as by direct structure access. NOTE: This is a candidate for the 7.10 and 7.11 branches. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
5a3a242a8fc4b9f0cac0e40786dd0c4831517473 |
|
19-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Add compiler support for ARB_shader_texture_lod. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
5ba2e7adf01aaa855e36a577a47de8f4ddace99c |
|
02-May-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement AMD_shader_stencil_export It's just an alias of the ARB variant with some GLSL compiler changes. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
28f1d6ab4913a9e37cacc7e903f8ce04bb3c8e1c |
|
25-Mar-2011 |
José Fonseca <jfonseca@vmware.com> |
glsl: Add void to _mesa_destroy_shader_compiler() argument list. At least MSVC sees a distinction between foo() and foo(void) and warns about it.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
0a163cf56d1e412629cb802480998a982a47bb3c |
|
26-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Enable GL_OES_texture_3D extension for ES2.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
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/glsl_parser_extras.h
|
14880a510a1a288df0778395097d5a52806abfb0 |
|
01-Feb-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Reject shader versions not supported by the implementation Previously we'd happily compile GLSL 1.30 shaders on any driver. We'd also happily compile GLSL 1.10 and 1.20 shaders in an ES2 context. This has been a long standing FINISHME in the compiler. NOTE: This is a candidate for the 7.9 and 7.10 branches
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
d3073f58c17d8675a2ecdd5dfa83e5520c78e1a8 |
|
21-Jan-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
Convert everything from the talloc API to the ralloc API.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
fb5db0570cad458232ad61b7af39622bacbe9af6 |
|
27-Jan-2011 |
Chad Versace <chad.versace@intel.com> |
glsl: Add support for AMD_conservative_depth to parser When AMD_conservative_depth is enabled: * Let 'layout' be a token. * Extend the production rule of layout_qualifier_id to process the tokens: depth_any depth_greater depth_less depth_unchanged
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
652901e95b4ed406293d0e1fabee857c054119b1 |
|
15-Jan-2011 |
Brian Paul <brianp@vmware.com> |
Merge branch 'draw-instanced' Conflicts: src/gallium/auxiliary/draw/draw_llvm.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/glsl/ir_set_program_inouts.cpp src/mesa/tnl/t_vb_program.c
|
eebdfdfbcf2721349d2c2cafe2d81fd83cade9b9 |
|
08-Jan-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Add version_string containing properly formatted GLSL version
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
86b4398cd158024f6be9fa830554a11c2a7ebe0c |
|
06-Jan-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Support the 'invariant(all)' pragma Previously the 'STDGL invariant(all)' pragma added in GLSL 1.20 was simply ignored by the compiler. This adds support for setting all variable invariant. In GLSL 1.10 and GLSL ES 1.00 the pragma is ignored, per the specs, but a warning is generated. Fixes piglit test glsl-invariant-pragma and bugzilla #31925. NOTE: This is a candidate for the 7.9 and 7.10 branches.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
7ce186358e881d1e30eda716a8dea73d2dab2ee9 |
|
09-Dec-2010 |
Brian Paul <brianp@vmware.com> |
glsl: add support for system values and GL_ARB_draw_instanced
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
a75da2c0e85eb6b8279ec895c3f74cc4aefc0257 |
|
20-Oct-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Remove useless ir_shader enumeration value.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
d9671863eaae41ba28b6fe82e3e7d1dac12f514c |
|
06-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
glsl: add support for shader stencil export This adds proper support for the GL_ARB_shader_stencil_export extension to the GLSL compiler. Thanks to Ian for pointing out where I need to add things.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
7f68cbdc4d9f602dc2619ac4a90283a4f057a8cb |
|
06-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Add parser support for GL_ARB_explicit_attrib_location layouts Only layout(location=#) is supported. Setting the index requires GLSL 1.30 and GL_ARB_blend_func_extended.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
7dcfc44b72f00ba5a38cb02123c80113440f0de9 |
|
05-Sep-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Define GL_ES preprocessor macro if API is OpenGL ES 2.0. Also define it if #version 100 is encountered.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
719caa403ecc3345b86708f8172600d80132d6cb |
|
16-Aug-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Accept language version 100 and make it the default on ES2.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
b820bf979a1c308d8d6fe6ad89e8ae7c77226603 |
|
27-Aug-2010 |
Brian Paul <brianp@vmware.com> |
glsl2: restructure header file for C++ and C inclusion As it was, the header could not be cleanly #included by a C source.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
b83846475bac76268d75f53632faf8aad8cad02c |
|
19-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Free the shader compiler at dri screen destruction. Hooray, we can valgrind again without adding suppressions. This also adds an interface for use by an implementation of glReleaseShaderCompiler().
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
e271384219ebc1f9e8afb63b20256f9d56102592 |
|
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl: Garbage collect old prototype for ir_to_mesa.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
f50f06552eb1e4af27d6fe99c381eac6a0a4ea0f |
|
01-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Parser support for GL_ARB_fragment_coord_conventions
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
2d1ed7b1b112cf13dd7eda7f500691f4c98a1ccc |
|
22-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: When a "continue" happens in a "for" loop, run the loop expression. Fixes: glsl1-for-loop with continue Bug #29097
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
d5be2acae379783c4aa31243e0a88a9e67e6ca7e |
|
20-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Link built-in functions instead of including them in every shader This is an invasive set of changes. Each user shader tracks a set of other shaders that contain built-in functions. During compilation, function prototypes are imported from these shaders. During linking, the shaders are linked with these built-in-function shaders just like with any other shader.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
a0cfe8c44085032fd982bbbff1f02252ffaa7114 |
|
21-Jul-2010 |
Carl Worth <cworth@cworth.org> |
glsl: Fix missing initialization of yylloc.source In both the preprocessor and in the compiler proper, we use a custom yyltype struct to allow tracking the source-string number in addition to line and column. However, we were previously relying on bison's default initialization of the yyltype struct which of course is not aware of the source field and leaves it uninitialized. We fix this by defining our own YYLLOC_DEFAULT macro expanding on the default version (as appears in the bison manual) and adding initialization of yylloc.source.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
2462a536ea5c98867296905e3da127eba7c7bdff |
|
19-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Add a constructor for _mesa_glsl_parse_state Coming changes to the handling of built-in functions necessitate this.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
f8946699ecfa5bc6566821fb855072bbdbd716b2 |
|
20-Jul-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Add definitions of the builtin constants present in GLSL 1.10. Fixes: glsl1-built-in constants
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
dfd30ca6a95a7d95835dad78ffe1fba4d1f4ef69 |
|
08-Jul-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl2: Remove generate_temporary and global temporary counter. Most places in the code simply use a static name, which works because names are never used to look up an ir_variable. generate_temporary is simply unnecessary (and looks like it would leak memory, and isn't thread safe...)
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
667f4e1940c4c4660e35dc9906672a476369660f |
|
01-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Conditionally allow optional extensions to be enabled The only optional extension currently supported by the compiler is GL_EXT_texture_array.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
06143ea09411aa283ac3633bfbfa4326584cd952 |
|
01-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Conditionally define preprocessor tokens for optional extensions The only optional extension currently supported by the compiler is GL_EXT_texture_array.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
127308b4be077e5bdf60f76320307550921e86bb |
|
01-Jul-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Add gl_MaxTextureCoords
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
5e18b051c039564d1998818d08caf1bff3983630 |
|
29-Jun-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl2: Pass MaxDrawBuffers from core Mesa into the GLSL compiler
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
6de825650560198eb97f19e72b2d56e68e3d7a63 |
|
29-Jun-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl2: Check for non-void functions that don't have a return statement. This doesn't do any control flow analysis to ensure that the return statements are actually reached. Fixes piglit tests function5.frag and function-07.vert.
/external/mesa3d/src/glsl/glsl_parser_extras.h
|
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/glsl_parser_extras.h
|