brw: remove uniform from opt_offsets

Those are for push constants, no point in doing that because :
   - there is no HW constant offsets in push constants (payload
     delivery), it's just register offset calculation
   - if we have an dynamic value it's already using MOV_INDIRECT

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: e103afe7be ("brw: run the nir_opt_offsets pass and set the maximum offset size")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36958>
This commit is contained in:
Lionel Landwerlin 2025-08-22 15:58:21 +03:00 committed by Marge Bot
parent ae7f9552be
commit 27c69acb6a

View file

@ -1947,7 +1947,6 @@ brw_vectorize_lower_mem_access(nir_shader *nir,
.buffer_max = UINT32_MAX,
.shared_max = UINT32_MAX,
.shared_atomic_max = UINT32_MAX,
.uniform_max = UINT32_MAX,
};
OPT(nir_opt_offsets, &offset_options);