mesa/src
Rhys Perry 5476d18183 nir/algebraic: add patterns for a >> #b << #b
Fixes compilation of a Battlefront 2 shader with ACO by removing VGPR
spilling. The reassociation makes it worse on LLVM though.

pipeline-db (ACO):
Totals from affected shaders:
SGPRS: 10704 -> 10688 (-0.15 %)
VGPRS: 18736 -> 18528 (-1.11 %)
Spilled SGPRs: 70 -> 70 (0.00 %)
Spilled VGPRs: 0 -> 0 (0.00 %)
Private memory VGPRs: 0 -> 0 (0.00 %)
Scratch size: 0 -> 0 (0.00 %) dwords per thread
Code Size: 909696 -> 885796 (-2.63 %) bytes
LDS: 225 -> 225 (0.00 %) blocks
Max Waves: 1115 -> 1129 (1.26 %)

pipeline-db (LLVM):
Totals from affected shaders:
SGPRS: 8472 -> 8424 (-0.57 %)
VGPRS: 14284 -> 14368 (0.59 %)
Spilled SGPRs: 0 -> 0 (0.00 %)
Spilled VGPRs: 442 -> 503 (13.80 %)
Private memory VGPRs: 0 -> 0 (0.00 %)
Scratch size: 268 -> 396 (47.76 %) dwords per thread
Code Size: 862568 -> 853028 (-1.11 %) bytes
LDS: 0 -> 0 (0.00 %) blocks
Max Waves: 971 -> 964 (-0.72 %)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2271>
2020-01-29 14:30:33 +00:00
..
amd aco: fix VS input loads with MUBUF on GFX6 2020-01-29 13:58:37 +00:00
broadcom util/hash_table: update users to use new optimal integer hash functions 2020-01-23 17:06:57 +00:00
compiler nir/algebraic: add patterns for a >> #b << #b 2020-01-29 14:30:33 +00:00
drm-shim drm-shim: fix EOF case 2019-11-13 12:39:14 +00:00
egl egl: drop confusing mincore() error message 2020-01-22 17:55:26 +00:00
etnaviv etnaviv: update Android build files 2020-01-24 14:03:28 +00:00
freedreno compiler: add PERSP to the existing barycentric system values 2020-01-29 09:49:50 +00:00
gallium etnaviv: implement UBOs 2020-01-29 11:47:34 +00:00
gbm meson: move the generic symbols check arguments to a common variable 2019-11-05 20:30:47 +00:00
getopt meson: build getopt when using msvc 2019-09-10 20:36:47 +00:00
glx drisw: Cache the depth of the X drawable 2020-01-23 23:03:13 +00:00
gtest meson: gtest needs pthreads 2019-11-07 06:11:19 -08:00
hgl haiku: fix Mesa build 2019-10-01 10:31:02 +00:00
imgui meson: drop intel_ prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel anv: Emit CS Stall before Instruction Cache flush for gen12 WA 2020-01-28 21:57:17 +00:00
loader loader: Check if the kernel driver is i915 before loading iris 2020-01-28 15:35:09 -08:00
mapi glapi / teximage: implement EGLImageTargetTexStorageEXT 2020-01-13 14:57:18 -08:00
mesa mesa/st: random whitespace cleanup 2020-01-29 11:21:47 +00:00
panfrost pan/midgard: Fix a liveness info leak 2020-01-29 12:59:32 +00:00
util util/simple_mtx: add a missing include to get ASSERTED 2020-01-24 20:29:29 -05:00
vulkan vulkan/wsi: Fix compiler warning when no WSI platforms are enabled. 2020-01-28 12:30:48 -08:00
meson.build meson: only build imgui when needed 2019-11-25 07:51:56 +00:00
SConscript