[Mesa-dev] [PATCH 0/7] i965/gen7 instanced GS support for ARB_gpu_shader5

Jordan Justen jordan.l.justen at intel.com
Sun Jan 26 12:52:02 PST 2014


No piglit regressions on HSW.

MESA_EXTENSION_OVERRIDE=GL_ARB_gpu_shader5 allows piglit
arb_gpu_shader5/execution/invocation-id-basic.shader_test
to pass.

There are known issues with invalid layout qualifiers being
allowed by the compiler. (Most are pre-existing bugs)
Piglit master has tests highlighting these issues.

Patches are available at:
git://people.freedesktop.org/~jljusten/mesa gs-inv-id

Jordan Justen (7):
  glsl: parse invocations layout qualifier for ARB_gpu_shader5
  glsl/linker: produce gl_shader_program Geom.Invocations
  mesa: initialize gl_geometry_program Invocations field
  main/shaderapi: GL_GEOMETRY_SHADER_INVOCATIONS GetProgramiv support
  glsl: add gl_InvocationID variable for ARB_gpu_shader5
  i965: support gl_InvocationID for gen7
  i965: support instanced GS on gen7

 src/glsl/ast.h                                    | 15 +++++++++++++--
 src/glsl/ast_to_hir.cpp                           | 14 ++++++++++++++
 src/glsl/ast_type.cpp                             | 11 +++++++++++
 src/glsl/builtin_variables.cpp                    |  2 ++
 src/glsl/glsl_parser.yy                           | 19 ++++++++++++++++++-
 src/glsl/glsl_parser_extras.cpp                   |  2 ++
 src/glsl/glsl_parser_extras.h                     |  3 +++
 src/glsl/linker.cpp                               | 18 ++++++++++++++++++
 src/mesa/drivers/dri/i965/brw_context.h           |  4 ++++
 src/mesa/drivers/dri/i965/brw_defines.h           |  6 ++++++
 src/mesa/drivers/dri/i965/brw_vec4_gs.c           |  4 ++++
 src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp | 23 +++++++++++++++++++++--
 src/mesa/drivers/dri/i965/gen7_gs_state.c         |  2 ++
 src/mesa/main/mtypes.h                            |  5 +++++
 src/mesa/main/shaderapi.c                         |  7 +++++++
 src/mesa/program/prog_print.c                     | 10 ++++++----
 src/mesa/program/program.c                        |  1 +
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp        |  1 +
 src/mesa/state_tracker/st_program.c               |  1 +
 19 files changed, 139 insertions(+), 9 deletions(-)

-- 
1.8.5.3



More information about the mesa-dev mailing list