[Mesa-dev] [PATCH v4 0/8] Implement support for EXT_blend_func_extended

Ryan Houdek sonicadvance1 at gmail.com
Fri Nov 6 14:15:06 PST 2015


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          | 62 +++++++++++++++++++++++++++++++++
 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, 145 insertions(+), 5 deletions(-)

-- 
2.5.0



More information about the mesa-dev mailing list