mesa/src/broadcom
Zan Dobersek 7fd5f76393 nir/lower_vars_to_scratch: calculate threshold-limited variable size separately
ir3's lowering of variables to scratch memory has to treat 8-bit values as
16-bit ones when comparing such value's size against the given threshold
since those values are handled through 16-bit half-registers. But those
values can still use natural 8-bit size and alignment for storing inside
scratch memory.

nir_lower_vars_to_scratch now accepts two size-and-alignment functions,
one used for calculating the variable size and the other for calculating
the size and alignment needed for storing inside scratch memory. Non-ir3
uses of this pass can just duplicate the currently-used function. ir3
provides a separate variable-size function that special-cases 8-bit types.

Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29875>
2024-08-07 14:32:28 +00:00
..
ci rpi3/ci: remove {version,render}_check from [piglit.env] 2024-08-01 21:05:27 +00:00
cle build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
clif broadcom: only support v42 and v71 2023-11-02 11:59:08 +01:00
common broadcom: move HW-dependant constants to v3d_device_info 2024-06-05 17:14:59 +00:00
compiler nir/lower_vars_to_scratch: calculate threshold-limited variable size separately 2024-08-07 14:32:28 +00:00
drm-shim build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
qpu broadcom/compiler: add new float32 unpack modifiers in V3D 7.x 2024-07-10 08:29:40 +02:00
simulator v3d,v3dv: simplify USE_V3D_SIMULATOR/using_v3d_simulator logic 2024-07-24 19:11:24 +00:00
vulkan v3dv: expose Vulkan 1.3 2024-08-05 15:10:24 +00:00
.editorconfig
meson.build format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00