mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-19 18:40:44 +01:00
It was already computed in brw_shader::assign_curb_setup() so we can use it in brw_assign_urb_setup(). There was a mismatch between assign_curb_setup() and brw_assign_urb_setup() when push_sizes were not multiple of REG_SIZE, the first one was aligning every push_sizes before sum it, while brw_assign_urb_setup() was only aligning the sum of all push_size. By luck the only places that did not had a push_size aligned to REG_SIZE only had one push_size, so this was not an issue. So here also fixing this mismatch and adding an assert to caught any future mismatch. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39817> |
||
|---|---|---|
| .. | ||
| blorp.c | ||
| blorp.h | ||
| blorp_blit.c | ||
| blorp_brw.c | ||
| blorp_clear.c | ||
| blorp_elk.c | ||
| blorp_genX_exec_brw.h | ||
| blorp_genX_exec_elk.h | ||
| blorp_nir_builder.h | ||
| blorp_priv.h | ||
| blorp_shaders.cl | ||
| meson.build | ||