[Mesa-dev] [PATCH 0/6] Updated nir texture lowering

Rob Clark robdclark at gmail.com
Thu Sep 17 05:48:46 PDT 2015


From: Rob Clark <robclark at freedesktop.org>

Update of the patchset sent yesterday:
1) rename to nir_lower_tex since it is no longer just lowering
   projector
2) split configuration options out into nir_lower_tex_options
3) add RECT lowering (also needed to get coord clamp working
   properly for RECT textures

Rob Clark (6):
  nir: rename nir_lower_tex_projector
  nir/lower_tex: split out project_src() helper
  nir/lower_tex: add support projector lowering per sampler type
  nir/lower_tex: support for lowering RECT textures
  nir/lower_tex: add support to clamp texture coords
  freedreno/ir3: lower txp/clamp in NIR

 src/gallium/drivers/freedreno/a3xx/fd3_texture.c   |   8 +-
 src/gallium/drivers/freedreno/a4xx/fd4_texture.c   |   8 +-
 .../drivers/freedreno/ir3/ir3_compiler_nir.c       |  56 ++--
 src/glsl/Makefile.sources                          |   2 +-
 src/glsl/nir/nir.h                                 |  43 ++-
 src/glsl/nir/nir_lower_tex.c                       | 295 +++++++++++++++++++++
 src/glsl/nir/nir_lower_tex_projector.c             | 137 ----------
 src/mesa/drivers/dri/i965/brw_nir.c                |   5 +-
 8 files changed, 386 insertions(+), 168 deletions(-)
 create mode 100644 src/glsl/nir/nir_lower_tex.c
 delete mode 100644 src/glsl/nir/nir_lower_tex_projector.c

-- 
2.4.3



More information about the mesa-dev mailing list