[Mesa-dev] [PATCH v4 00/12] Rework CS local IDs for gen7+
Jordan Justen
jordan.l.justen at intel.com
Wed Jun 1 22:04:07 UTC 2016
git://people.freedesktop.org/~jljusten/mesa hsw-cs-cross-thread-constants-v4
v4:
* Support both the old and new layouts until the switch-over to the
new layout. This minimizes the size of the switch over patch.
(Jason)
v3:
* https://lists.freedesktop.org/archives/mesa-dev/2016-May/118722.html
v2:
* https://lists.freedesktop.org/archives/mesa-dev/2016-May/118566.html
v1:
* https://lists.freedesktop.org/archives/mesa-dev/2016-May/117952.html
Jordan Justen (12):
glsl: Add glsl LowerCsDerivedVariables option
nir: Make lowering gl_LocalInvocationIndex optional
i965: Add nir channel_num system value
i965: Add uniform for a CS thread local base ID
i965: Put CS local thread ID uniform in last push register
i965: Add nir based intrinsic lowering and thread ID uniform
i965: Store number of threads in brw_cs_prog_data
i965: Add CS push constant info to brw_cs_prog_data
i965: Support new local ID push constant & cross-thread constants
anv: Support new local ID generation & cross-thread constants
i965: Enable cross-thread constants and compact local IDs for hsw+
i965: Remove old CS local ID handling
src/compiler/glsl/builtin_variables.cpp | 29 ++--
src/compiler/glsl/glsl_parser_extras.cpp | 2 +-
src/compiler/glsl/ir.h | 3 +-
src/compiler/nir/nir.c | 4 +
src/compiler/nir/nir.h | 2 +
src/compiler/nir/nir_gather_info.c | 1 +
src/compiler/nir/nir_intrinsics.h | 2 +
src/compiler/nir/nir_lower_system_values.c | 16 +-
src/intel/vulkan/anv_cmd_buffer.c | 52 +++----
src/intel/vulkan/anv_pipeline.c | 4 +
src/intel/vulkan/anv_private.h | 1 -
src/intel/vulkan/gen7_cmd_buffer.c | 15 +-
src/intel/vulkan/gen8_cmd_buffer.c | 13 +-
src/intel/vulkan/genX_cmd_buffer.c | 4 +-
src/intel/vulkan/genX_pipeline.c | 12 +-
src/mesa/drivers/dri/i965/Makefile.sources | 1 +
src/mesa/drivers/dri/i965/brw_compiler.h | 22 ++-
src/mesa/drivers/dri/i965/brw_cs.c | 3 +
src/mesa/drivers/dri/i965/brw_defines.h | 3 +
src/mesa/drivers/dri/i965/brw_fs.cpp | 197 +++++++++++++------------
src/mesa/drivers/dri/i965/brw_fs.h | 1 -
src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 22 ++-
src/mesa/drivers/dri/i965/brw_nir.h | 2 +
src/mesa/drivers/dri/i965/brw_nir_intrinsics.c | 179 ++++++++++++++++++++++
src/mesa/drivers/dri/i965/gen7_cs_state.c | 124 ++++++++--------
src/mesa/main/mtypes.h | 3 +
src/mesa/state_tracker/st_extensions.c | 1 +
27 files changed, 472 insertions(+), 246 deletions(-)
create mode 100644 src/mesa/drivers/dri/i965/brw_nir_intrinsics.c
--
2.8.1
More information about the mesa-dev
mailing list