mesa/src/intel
Jason Ekstrand 419b02c90c anv,iris: Advertise a max 3D workgroup size of 1024^3
On GFX version 12.5+ with COMPUTE_WALKER, this is the limit based on the
size of the HW packet.  On older HW, we can technically go a bit bigger
but there's not much point.  Technically, some hardware can support a
scalar workgroup size up to 2048 but most apps don't go any bigger than
1024.

As discussed on the merge request page, the current limit assumes
SIMD32, but it is unclear if we want to encourage applications to use
SIMD32 if it may lead to additional register spilling in shader
programs. Many applications have likely tuned for a limit of 1024
based on the OpenGL minimum limit, so it might not gain much by
advertising more than 1024.

Reworks:
 * Jordan: Use MIN2 and limit total invocations as well.
 * Jordan: Add second paragraph to commit message based on merge
   request discussion.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13538>
2021-11-08 23:07:42 +00:00
..
blorp intel/blorp: Add option to emit packets that disable Mesh 2021-11-04 14:41:06 -07:00
common intel: move away from booleans to identify platforms 2021-11-08 16:48:06 +00:00
compiler intel: move away from booleans to identify platforms 2021-11-08 16:48:06 +00:00
dev intel/dev: also test crocus & i915 pci-ids 2021-11-08 16:48:06 +00:00
ds intel/pps: reuse timestamp_frequency from intel_device_info 2021-10-28 13:16:56 +03:00
genxml intel/genxml: Inline the BODY structs into the instructions 2021-11-04 21:01:13 +00:00
isl intel: move away from booleans to identify platforms 2021-11-08 16:48:06 +00:00
nullhw-layer intel/nullhw: fix build 2021-03-26 20:12:40 +00:00
perf intel: move away from booleans to identify platforms 2021-11-08 16:48:06 +00:00
tools intel: move away from booleans to identify platforms 2021-11-08 16:48:06 +00:00
vulkan anv,iris: Advertise a max 3D workgroup size of 1024^3 2021-11-08 23:07:42 +00:00
Makefile.perf.am intel: Rename GEN_PERF prefix to INTEL_PERF in build files 2021-04-20 20:06:34 +00:00
meson.build pps: Intel pps driver 2021-05-18 14:28:48 +00:00