nir/uub: decrease default max subgroup size to 128

128 is the maximum all apis allow.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36874>
This commit is contained in:
Georg Lehmann 2025-08-20 12:29:50 +02:00 committed by Marge Bot
parent a2e48d2ede
commit 773ee60e48

View file

@ -1573,7 +1573,7 @@ lookup_input(nir_shader *shader, unsigned driver_location)
/* The config here should be generic enough to be correct on any HW. */
static const nir_unsigned_upper_bound_config default_ub_config = {
.min_subgroup_size = 1u,
.max_subgroup_size = UINT16_MAX,
.max_subgroup_size = 128u,
.max_workgroup_invocations = UINT16_MAX,
/* max_workgroup_count represents the maximum compute shader / kernel