[Mesa-dev] [PATCH 0/6] More OpenCL preparation for nir

Karol Herbst kherbst at redhat.com
Thu Jul 12 11:29:46 UTC 2018


This time all of the patches can be reviewed independently.

Karol Herbst (5):
  nir/spirv: print id for unsupported builtins
  nir: add builtin builder
  nir: fix printing of vec16 type
  nir: prepare for bumping up max components to 16
  nir/spirv: handle functions with scalar and vector params

Rob Clark (1):
  nir/spirv: implement BuiltInWorkDim

 src/compiler/Makefile.sources                 |  2 +
 src/compiler/nir/meson.build                  |  2 +
 src/compiler/nir/nir.c                        | 16 ++--
 src/compiler/nir/nir.h                        | 34 ++++----
 src/compiler/nir/nir_builder.h                | 18 +++--
 src/compiler/nir/nir_builtin_builder.c        | 67 ++++++++++++++++
 src/compiler/nir/nir_builtin_builder.h        | 79 +++++++++++++++++++
 src/compiler/nir/nir_intrinsics.py            |  1 +
 src/compiler/nir/nir_lower_alu_to_scalar.c    |  6 +-
 src/compiler/nir/nir_lower_io_to_scalar.c     |  4 +-
 .../nir/nir_lower_load_const_to_scalar.c      |  2 +-
 src/compiler/nir/nir_opt_constant_folding.c   |  2 +-
 src/compiler/nir/nir_opt_copy_prop_vars.c     |  4 +-
 src/compiler/nir/nir_print.c                  |  9 ++-
 src/compiler/nir/nir_search.c                 |  8 +-
 src/compiler/nir/nir_validate.c               |  6 +-
 src/compiler/shader_enums.c                   |  1 +
 src/compiler/shader_enums.h                   |  1 +
 src/compiler/spirv/spirv_to_nir.c             |  4 +-
 src/compiler/spirv/vtn_alu.c                  |  2 +-
 src/compiler/spirv/vtn_cfg.c                  | 25 ++++--
 src/compiler/spirv/vtn_glsl450.c              | 58 +++-----------
 src/compiler/spirv/vtn_variables.c            |  6 +-
 23 files changed, 251 insertions(+), 106 deletions(-)
 create mode 100644 src/compiler/nir/nir_builtin_builder.c
 create mode 100644 src/compiler/nir/nir_builtin_builder.h

-- 
2.17.1



More information about the mesa-dev mailing list