mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 22:18:18 +02:00
Previously the driver decided when the backend should use LD_VAR_BUF[_IMM] instructions based on the total number of varyings read, falling back to LD_VAR[_IMM] + descriptors when the varying index could overflow the immediate index in the instructions. That means that even adding a single varying read could overflow the index and make everything fall back to LD_VAR. With this patch the backend decides when to use LD_VAR_BUF for each varying load, reporting that decision to the driver. This helps with index overflows because only the instruction that actually overflow the immediate use the LD_VAR fallback, leaving all other instructions on the fast path. Signed-off-by: Lorenzo Rossi <lorenzo.rossi@collabora.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40515> |
||
|---|---|---|
| .. | ||
| ci | ||
| clc | ||
| compiler | ||
| drm-shim | ||
| ds | ||
| genxml | ||
| lib | ||
| libpan | ||
| model | ||
| perf | ||
| shared | ||
| tools | ||
| vulkan | ||
| .clang-format | ||
| meson.build | ||