mesa/src/amd
Daniel Schürmann 12d7f911c9 aco/optimizer: prevent any overflow between SGPR and const offset on MUBUF
Apparently, if the SGPR offset + const offset overflows,
it doesn't work.

Totals from 145 (0.11% of 134913) affected shaders: (GFX10.3)
SpillSGPRs: 134 -> 104 (-22.39%)
CodeSize: 1632676 -> 1645916 (+0.81%); split: -0.03%, +0.84%
Instrs: 316920 -> 320252 (+1.05%); split: -0.01%, +1.07%
Latency: 1456285 -> 1459686 (+0.23%); split: -0.02%, +0.25%
InvThroughput: 165785 -> 166086 (+0.18%); split: -0.02%, +0.20%
VClause: 6815 -> 6875 (+0.88%); split: -0.03%, +0.91%
SClause: 19089 -> 19079 (-0.05%); split: -0.06%, +0.01%
PreSGPRs: 7302 -> 7304 (+0.03%); split: -0.01%, +0.04%

Fixes: KHR-GL45.shader_storage_buffer_object.basic-operations-case1-cs
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15866>
2022-04-29 15:57:57 +00:00
..
addrlib amd: update addrlib 2022-03-01 17:03:00 +00:00
ci radv/ci: stop skipping dEQP-VK.synchronization.* on Bonaire 2022-04-29 15:52:33 +02:00
common ac/gpu_info: remove old and unused fields from radeon_info 2022-04-23 01:45:17 +00:00
compiler aco/optimizer: prevent any overflow between SGPR and const offset on MUBUF 2022-04-29 15:57:57 +00:00
drm-shim Use proper types for meson objects 2022-04-18 13:03:08 +03:00
llvm ac: remove gallivm header include 2022-04-28 16:45:31 +00:00
registers amd: remove the _UMD suffix from register definitions 2022-02-22 11:41:04 +00:00
vulkan radv: fix the number of generated primitive queries with NGG GS vs legacy 2022-04-29 11:46:19 +00:00
.clang-format radv: allow holes in inline push constants 2022-04-12 11:44:30 +00:00
meson.build r300/r600: Add drm-shim support. 2022-02-02 00:59:08 +00:00