mesa/src/freedreno
Emma Anholt 700d2fbd0a nir: Add a .base field to nir_load_ubo_vec4.
This lets nir-to-tgsi fold the constant offset of addressing calculations
into the CONST[] reference, which is important for D3D9-era compatibility:
HW of that age has limited uniform space, and if we do the addressing math
as math in the shader for dynamic indexing, the nir_load_consts end up
taking up uniforms we don't have available.

r300:
total instructions in shared programs: 1279699 -> 1279167 (-0.04%)
instructions in affected programs: 134796 -> 134264 (-0.39%)
total instructions in shared programs: 1279699 -> 1279167 (-0.04%)
instructions in affected programs: 134796 -> 134264 (-0.39%)
total temps in shared programs: 213912 -> 213736 (-0.08%)
temps in affected programs: 2166 -> 1990 (-8.13%)
total consts in shared programs: 953237 -> 952973 (-0.03%)
consts in affected programs: 45980 -> 45716 (-0.57%)

Acked-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14309>
2022-01-19 22:28:34 +00:00
..
.gitlab-ci freedreno/ir3: add a6xx global atomics and separate atomic opcodes 2021-11-23 18:26:37 +00:00
afuc freedreno: silence sometimes-uninitialized warning 2022-01-12 21:20:23 +00:00
ci ci: freedreno: Update a530 dEQP fail expectation list 2022-01-19 20:14:43 +00:00
common freedreno: Update chip-ids 2022-01-13 05:26:11 +00:00
computerator freedreno/computerator: Mark shader bo for dumping 2021-12-20 19:47:35 +00:00
decode freedreno/decode: Handle chip-id 2022-01-14 23:17:03 +00:00
drm freedreno/drm: Move suballoc_bo to device 2021-10-26 00:12:02 +00:00
drm-shim freedreno/drm-shim: keep GEM buffers page-aligned 2021-06-14 17:30:01 +00:00
ds pps: allow drivers to report timestamps in their own time domain 2021-11-22 11:52:46 +00:00
fdl freedreno/fdl: Fix reinterpreting "size-compatible" formats 2022-01-13 13:44:14 +00:00
ir2 freedreno/ir2: Re-indent 2021-04-17 15:38:56 +00:00
ir3 nir: Add a .base field to nir_load_ubo_vec4. 2022-01-19 22:28:34 +00:00
isa ir3: New cat3 instructions 2022-01-10 13:20:39 +02:00
perfcntrs freedreno/all: Introduce fd_dev_id 2021-08-06 18:51:50 +00:00
registers freedreno/rnn: normalize line endings in rules-ng.xsd 2022-01-19 15:17:17 +00:00
rnn freedreno: Move the headergen2 test to be meson unit tests. 2021-10-01 23:16:04 +00:00
vulkan mesa/*: add a shader primitive type to get away from GL types. 2022-01-19 21:54:58 +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