[Mesa-dev] [PATCH v2 0/8] Add GL ES per-sample shading support

Ilia Mirkin imirkin at alum.mit.edu
Sat Feb 27 16:21:47 UTC 2016


GL ES adds several extensions that enable the full functionality. I
sent many of these out before on a piecemeal basis, but this unifies
everything in one series and includes various little fixes I made
along the way.

As part of this series, I also implement the clarification regarding
per-sample shading vs per-sample interpolation.

Ilia Mirkin (8):
  st/mesa: don't force per-sample interp if only sampleid/pos are used
  nv50/ir: using sampleid/pos shouldn't force per-sample interpolation
  glsl: add gl_MaxSamples, new in GL 4.5 / GL ES 3.2
  mesa: add OES_sample_variables to extension table, add enable bit
  glsl: add GL_OES_sample_variables support
  mesa: add GL_OES_sample_shading support
  mesa: add GL_OES_shader_multisample_interpolation support
  st/mesa: add ES sample-shading support

 docs/GL3.txt                                              |  6 +++---
 src/compiler/glsl/builtin_functions.cpp                   | 12 +++++++-----
 src/compiler/glsl/builtin_variables.cpp                   | 15 ++++++++++++---
 src/compiler/glsl/glcpp/glcpp-parse.y                     |  4 ++++
 src/compiler/glsl/glsl_lexer.ll                           |  2 +-
 src/compiler/glsl/glsl_parser_extras.cpp                  |  5 +++++
 src/compiler/glsl/glsl_parser_extras.h                    |  7 +++++++
 src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h      |  1 -
 src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp |  6 +-----
 src/mapi/glapi/gen/es_EXT.xml                             |  6 ++++++
 src/mesa/main/enable.c                                    |  4 ++--
 src/mesa/main/extensions_table.h                          |  3 +++
 src/mesa/main/get.c                                       |  5 +++++
 src/mesa/main/get_hash_params.py                          | 14 ++++++++------
 src/mesa/main/mtypes.h                                    |  1 +
 src/mesa/main/multisample.c                               |  3 ++-
 src/mesa/main/tests/dispatch_sanity.cpp                   |  3 +++
 src/mesa/state_tracker/st_atom_shader.c                   |  4 ----
 src/mesa/state_tracker/st_extensions.c                    |  6 ++++++
 src/mesa/state_tracker/st_program.c                       |  4 ----
 20 files changed, 76 insertions(+), 35 deletions(-)

-- 
2.4.10



More information about the mesa-dev mailing list