intel/compiler: Use Task/Mesh InlineData for the first few push constants
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Mon, 13 Dec 2021 13:11:27 +0000 (14:11 +0100)
committerMarge Bot <emma+marge@anholt.net>
Sat, 29 Jan 2022 06:32:19 +0000 (06:32 +0000)
commit24fef8f33da9809434a8f633b045b740be24ab2c
tree8a78222608921eda3e78bb3026e935f7e25a922b
parent1d9f47325b72ac40faf8bd8176cfcb33fc070ae3
intel/compiler: Use Task/Mesh InlineData for the first few push constants

Replace load_mesh_global_arg_addr_intel with a more general intrinsic
load_mesh_inline_data_intel, since inline data now hold both
a pointer descriptor information and the first few push constants.

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14788>
src/compiler/nir/nir_intrinsics.py
src/compiler/nir/nir_lower_shader_calls.c
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_mesh.cpp