mesa/src/freedreno
Emma Anholt 077e04bd86 ir3/ra: Make sure we don't pick a preferred reg overflowing the file.
If we're in handle_collect()'s dst allocation and are part of a merge set
near the end of the file, our check for reg_elem_size(reg) would let us
use the preferred reg when that would immediately lead to
allocate_dst_fixed() creating an interval extending thruogh reg_size(reg)
that overflows the file.

Avoids a regression on gfxbench5/gl_5_high_off/17.shader_test in the next
commit.  No change on shader-db.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18946>
(cherry picked from commit a39113b616)
2022-11-17 14:05:02 +00:00
..
.gitlab-ci tu: Rename RB_MSAA_CNTL to RB_BLIT_GMEM_MSAA_CNTL 2022-09-21 11:20:15 +00:00
afuc freedreno: remove stale makefile 2022-06-02 09:13:23 +00:00
ci freedreno/a6xx: Mark gl45 supported 2022-11-02 15:42:14 +00:00
common freedreno: Disable 8bpp_ubwc on a6xx gen2 2022-09-23 16:08:33 +00:00
computerator Change all debug_assert calls to assert 2022-07-10 00:50:35 +00:00
decode freedreno: Add 'replay' tool which allows to replay cmdstreams 2022-10-25 20:26:49 +00:00
drm util/mesa/wide: Rename _SIMPLE_MTX_INITIALIZER_NP to SIMPLE_MTX_INITIALIZER 2022-10-14 03:27:41 +00:00
drm-shim freedreno/drm-shim: add a660 2022-07-22 02:11:14 +00:00
ds freedreno/pps: loop countables by references 2022-11-01 20:22:36 +00:00
fdl freedreno/fdl: Increase alignment for UBWC images 2022-10-31 11:17:31 +00:00
ir2 freedreno/ir2: Re-indent 2021-04-17 15:38:56 +00:00
ir3 ir3/ra: Make sure we don't pick a preferred reg overflowing the file. 2022-11-17 14:05:02 +00:00
isa isaspec: Move isa_decode(..) declaration 2022-09-03 19:26:04 +00:00
perfcntrs freedreno/fdperf: support dumping counters 2022-05-14 22:18:52 +00:00
registers freedreno: Add LABEL flush 2022-10-10 21:04:18 +00:00
rnn freedreno: Move the headergen2 test to be meson unit tests. 2021-10-01 23:16:04 +00:00
vulkan tu: tu: Clear patchControlPoints dirty state with static patchControlPoints 2022-11-09 21:22:05 +00:00
.clang-format freedreno: Add some options to .clang-format 2021-07-12 20:57:21 +00:00
.dir-locals.el freedreno: Update editorconfig and emacs settings for freedreno reformat. 2021-05-10 23:16:00 +00:00
.editorconfig freedreno: Update editorconfig and emacs settings for freedreno reformat. 2021-05-10 23:16:00 +00:00
meson.build freedreno: support lua54 2021-10-26 00:33:31 +00:00