mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-17 18:18:06 +02:00
Scratch access isn't very optimizable, so more stores are optimized away if we lower indirect derefs after both linking and radv_optimize_nir. fossil-db (navi21): Totals from 1264 (0.62% of 202427) affected shaders: Instrs: 1504703 -> 1504708 (+0.00%); split: -0.02%, +0.02% CodeSize: 8031388 -> 8031020 (-0.00%); split: -0.02%, +0.02% SpillSGPRs: 1865 -> 1869 (+0.21%) Latency: 12106362 -> 12106464 (+0.00%); split: -0.01%, +0.01% InvThroughput: 4056269 -> 4056044 (-0.01%); split: -0.01%, +0.00% VClause: 13927 -> 13940 (+0.09%) SClause: 32382 -> 32396 (+0.04%); split: -0.03%, +0.08% Copies: 188004 -> 187897 (-0.06%); split: -0.17%, +0.11% Branches: 39045 -> 39052 (+0.02%); split: -0.01%, +0.03% PreSGPRs: 79885 -> 79814 (-0.09%); split: -0.11%, +0.02% VALU: 1072639 -> 1072532 (-0.01%); split: -0.01%, +0.00% SALU: 187317 -> 187375 (+0.03%); split: -0.11%, +0.14% Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Acked-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31265> |
||
|---|---|---|
| .. | ||
| clc | ||
| glsl | ||
| isaspec | ||
| libcl | ||
| nir | ||
| rust | ||
| spirv | ||
| builtin_types.py | ||
| builtin_types_c.py | ||
| builtin_types_h.py | ||
| glsl_types.c | ||
| glsl_types.h | ||
| list.h | ||
| meson.build | ||
| shader_enums.c | ||
| shader_enums.h | ||
| shader_info.h | ||