<div dir="ltr"><div><div><div>I made a few cosmetic comments on patch 9 and I made a comment on patch 5 that might make a good future cleanup.  However, I think it's good enough to land.<br><br></div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br><br></div>Don't forget to cc 12.0<br></div>--Jason<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 1, 2016 at 3:04 PM, Jordan Justen <span dir="ltr"><<a href="mailto:jordan.l.justen@intel.com" target="_blank">jordan.l.justen@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">git://<a href="http://people.freedesktop.org/~jljusten/mesa" rel="noreferrer" target="_blank">people.freedesktop.org/~jljusten/mesa</a> hsw-cs-cross-thread-constants-v4<br>
<br>
v4:<br>
 * Support both the old and new layouts until the switch-over to the<br>
   new layout. This minimizes the size of the switch over patch.<br>
   (Jason)<br>
<br>
v3:<br>
 * <a href="https://lists.freedesktop.org/archives/mesa-dev/2016-May/118722.html" rel="noreferrer" target="_blank">https://lists.freedesktop.org/archives/mesa-dev/2016-May/118722.html</a><br>
<br>
v2:<br>
 * <a href="https://lists.freedesktop.org/archives/mesa-dev/2016-May/118566.html" rel="noreferrer" target="_blank">https://lists.freedesktop.org/archives/mesa-dev/2016-May/118566.html</a><br>
<br>
v1:<br>
 * <a href="https://lists.freedesktop.org/archives/mesa-dev/2016-May/117952.html" rel="noreferrer" target="_blank">https://lists.freedesktop.org/archives/mesa-dev/2016-May/117952.html</a><br>
<br>
<br>
Jordan Justen (12):<br>
  glsl: Add glsl LowerCsDerivedVariables option<br>
  nir: Make lowering gl_LocalInvocationIndex optional<br>
  i965: Add nir channel_num system value<br>
  i965: Add uniform for a CS thread local base ID<br>
  i965: Put CS local thread ID uniform in last push register<br>
  i965: Add nir based intrinsic lowering and thread ID uniform<br>
  i965: Store number of threads in brw_cs_prog_data<br>
  i965: Add CS push constant info to brw_cs_prog_data<br>
  i965: Support new local ID push constant & cross-thread constants<br>
  anv: Support new local ID generation & cross-thread constants<br>
  i965: Enable cross-thread constants and compact local IDs for hsw+<br>
  i965: Remove old CS local ID handling<br>
<br>
 src/compiler/glsl/builtin_variables.cpp        |  29 ++--<br>
 src/compiler/glsl/glsl_parser_extras.cpp       |   2 +-<br>
 src/compiler/glsl/ir.h                         |   3 +-<br>
 src/compiler/nir/nir.c                         |   4 +<br>
 src/compiler/nir/nir.h                         |   2 +<br>
 src/compiler/nir/nir_gather_info.c             |   1 +<br>
 src/compiler/nir/nir_intrinsics.h              |   2 +<br>
 src/compiler/nir/nir_lower_system_values.c     |  16 +-<br>
 src/intel/vulkan/anv_cmd_buffer.c              |  52 +++----<br>
 src/intel/vulkan/anv_pipeline.c                |   4 +<br>
 src/intel/vulkan/anv_private.h                 |   1 -<br>
 src/intel/vulkan/gen7_cmd_buffer.c             |  15 +-<br>
 src/intel/vulkan/gen8_cmd_buffer.c             |  13 +-<br>
 src/intel/vulkan/genX_cmd_buffer.c             |   4 +-<br>
 src/intel/vulkan/genX_pipeline.c               |  12 +-<br>
 src/mesa/drivers/dri/i965/Makefile.sources     |   1 +<br>
 src/mesa/drivers/dri/i965/brw_compiler.h       |  22 ++-<br>
 src/mesa/drivers/dri/i965/brw_cs.c             |   3 +<br>
 src/mesa/drivers/dri/i965/brw_defines.h        |   3 +<br>
 src/mesa/drivers/dri/i965/brw_fs.cpp           | 197 +++++++++++++------------<br>
 src/mesa/drivers/dri/i965/brw_fs.h             |   1 -<br>
 src/mesa/drivers/dri/i965/brw_fs_nir.cpp       |  22 ++-<br>
 src/mesa/drivers/dri/i965/brw_nir.h            |   2 +<br>
 src/mesa/drivers/dri/i965/brw_nir_intrinsics.c | 179 ++++++++++++++++++++++<br>
 src/mesa/drivers/dri/i965/gen7_cs_state.c      | 124 ++++++++--------<br>
 src/mesa/main/mtypes.h                         |   3 +<br>
 src/mesa/state_tracker/st_extensions.c         |   1 +<br>
 27 files changed, 472 insertions(+), 246 deletions(-)<br>
 create mode 100644 src/mesa/drivers/dri/i965/brw_nir_intrinsics.c<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
2.8.1<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>