This implements support for a very new extension to ES, which allows you to do dual source blending just like in desktop OpenGL. This works with the piglits that I am writing that just need to be cleaned before they are pushed, and it also works fantastically with the Dolphin emulator (Only known application that uses this extension)
Ryan Houdek (8): glapi: Add EXT_blend_func_extended XML definitions glsl: Add required variables to _mesa_glsl_parse_state for EXT_blend_func_extended glsl: Add support for the new builtins that EXT_blend_func_extended provides. glsl: Add GL_EXT_blend_func_extended preprocessor define glsl: Add a parse check to check for the index layout qualifier mesa: Enable usage of blend_func_extended blend factors mesa: Allow MAX_DUAL_SOURCE_DRAW_BUFFERS to be available to ES mesa: Enable EXT_blend_func_extended if the driver supports the ARB version docs/relnotes/11.1.0.html | 1 + src/glsl/ast_to_hir.cpp | 24 ++++++++++++ src/glsl/builtin_variables.cpp | 68 +++++++++++++++++++++++++++++++++ src/glsl/glcpp/glcpp-parse.y | 2 + src/glsl/glsl_parser.yy | 5 +++ src/glsl/glsl_parser_extras.cpp | 3 ++ src/glsl/glsl_parser_extras.h | 5 +++ src/mapi/glapi/gen/EXT_gpu_shader4.xml | 3 +- src/mapi/glapi/gen/es_EXT.xml | 26 +++++++++++++ src/mesa/main/blend.c | 6 +-- src/mesa/main/extensions.c | 1 + src/mesa/main/get_hash_params.py | 4 +- src/mesa/main/tests/dispatch_sanity.cpp | 8 ++++ 13 files changed, 151 insertions(+), 5 deletions(-) -- 2.5.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev