[Mesa-dev] [PATCH 00/10] i965: add ARB_shader_texture_image_samples support

Ilia Mirkin imirkin at alum.mit.edu
Thu Aug 27 20:48:29 PDT 2015


This should include everything. I sent a test for textureSamples to
piglit a while ago, not sure how to test imageSamples -- apparently ms
images aren't entirely supported on i965? But I'm not sure via what
feat that happens.

I'll send some tests for compiler tests though.

Ilia Mirkin (10):
  mesa: add infra for ARB_shader_texture_image_samples
  glsl: add ir_texture_samples texture opcode
  nir: add nir_texop_texture_samples and convert from glsl
  glsl: add ARB_shader_texture_image_samples infrastructure
  glsl: add support for the textureSamples function
  i965: add support for textureSamples function
  glsl: add support for the imageSamples function
  nir: convert glsl imageSamples into a new intrinsic
  i965: add handling for imageSamples
  i965: enable ARB_shader_texture_image_samples

 src/glsl/builtin_functions.cpp                   | 79 +++++++++++++++++++++++-
 src/glsl/glcpp/glcpp-parse.y                     |  3 +
 src/glsl/glsl_parser_extras.cpp                  |  1 +
 src/glsl/glsl_parser_extras.h                    |  2 +
 src/glsl/ir.cpp                                  |  5 +-
 src/glsl/ir.h                                    |  3 +-
 src/glsl/ir_clone.cpp                            |  1 +
 src/glsl/ir_equals.cpp                           |  1 +
 src/glsl/ir_hv_accept.cpp                        |  1 +
 src/glsl/ir_print_visitor.cpp                    |  6 +-
 src/glsl/ir_reader.cpp                           |  6 +-
 src/glsl/ir_rvalue_visitor.cpp                   |  1 +
 src/glsl/nir/glsl_to_nir.cpp                     | 11 +++-
 src/glsl/nir/nir.h                               |  4 +-
 src/glsl/nir/nir_intrinsics.h                    |  2 +
 src/glsl/nir/nir_print.c                         |  3 +
 src/glsl/opt_tree_grafting.cpp                   |  1 +
 src/mesa/drivers/dri/i965/brw_defines.h          |  3 +
 src/mesa/drivers/dri/i965/brw_disasm.c           |  1 +
 src/mesa/drivers/dri/i965/brw_fs.cpp             |  7 +++
 src/mesa/drivers/dri/i965/brw_fs_generator.cpp   |  4 ++
 src/mesa/drivers/dri/i965/brw_fs_nir.cpp         |  6 ++
 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp     |  3 +
 src/mesa/drivers/dri/i965/brw_shader.cpp         |  4 ++
 src/mesa/drivers/dri/i965/brw_vec4.cpp           |  1 +
 src/mesa/drivers/dri/i965/brw_vec4_generator.cpp |  4 ++
 src/mesa/drivers/dri/i965/brw_vec4_nir.cpp       |  1 +
 src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp   | 10 ++-
 src/mesa/drivers/dri/i965/intel_extensions.c     |  1 +
 src/mesa/main/extensions.c                       |  1 +
 src/mesa/main/mtypes.h                           |  1 +
 src/mesa/program/ir_to_mesa.cpp                  |  3 +
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp       |  2 +
 33 files changed, 170 insertions(+), 12 deletions(-)

-- 
2.4.6



More information about the mesa-dev mailing list