Skip to content

aco: various boolean phi optimizations

Rhys Perry requested to merge pendingchaos/mesa:aco_detroit_bool_opts_mr into master

This has an especially large effect with Detroit: Become Human and parallel-rdp:

 PERCENTAGE DELTAS                Shaders    SGPRs      VGPRs      SpillSGPRs SpillVGPRs CodeSize   MaxWaves   Instrs     
 battlefront2                     4568          .          .          .          .       +0.01%        .       -0.00%     
 britannia                        469           .          .          .          .          .          .          .       
 dark_souls_1_remastered          4249          .          .          .          .          .          .          .       
 dark_souls_2_sotfs               6876          .          .          .          .          .          .          .       
 dark_souls_3                     8935          .          .          .          .       -0.00%        .       -0.00%     
 detroit_become_human             19959      -0.27%     -0.17%     -50.51%       .       -4.02%     +0.09%     -3.51%     
 deus_ex_md                       8063          .          .          .          .       -0.00%        .       -0.00%     
 dirt4                            4078          .          .          .          .          .          .          .       
 doom_2016                        2963          .          .          .          .       -0.01%        .       -0.01%     
 dota2                            1015          .          .          .          .          .          .          .       
 dow3                             282        -0.08%        .          .          .       +0.00%        .       +0.00%     
 evilwithin_demo                  742           .          .          .          .          .          .          .       
 f12017                           5503          .          .       -9.84%        .       -0.04%        .       -0.05%     
 gtav                             2991          .          .          .          .          .          .          .       
 hitman                           2785          .          .          .          .       -0.00%        .       -0.00%     
 madmax                           948           .          .          .          .          .          .          .       
 nier                             5492          .          .          .          .       -0.00%        .       -0.00%     
 parallel-rdp/small_subgroup      246        -2.68%     -0.13%     -inf%         .       -2.42%        .       -3.15%     
 parallel-rdp/small_uber_subgroup 55         -2.67%     +0.19%     -48.61%    -1.62%     -4.09%        .       -3.60%     
 parallel-rdp/subgroup            327        -1.68%     -0.05%     -57.75%       .       -2.69%        .       -3.54%     
 parallel-rdp/uber_subgroup       55         -2.67%        .       -43.62%    -1.13%     -6.44%        .       -5.79%     
 redout                           2520          .          .          .          .          .          .          .       
 rottr                            8130          .          .          .          .          .          .          .       
 sottr_demo                       5711       -0.00%        .          .          .       -0.00%        .       -0.00%     
 strange_brigade                  1417          .          .          .          .       -0.03%        .       -0.03%     
 talos                            794           .          .          .          .          .          .          .       
 thewitness                       3151          .          .          .          .       -0.00%        .       -0.00%     
 threekingdoms                    847        -0.52%        .          .          .       -0.14%        .       -0.19%     
 tomb_raider                      16232         .          .          .          .          .          .          .       
 warhammer2                       1803       -0.42%        .          .          .       -0.06%        .       -0.08%     
 worldofwarships                  5590          .          .          .          .       -0.00%        .       -0.00%     
 youngblood                       843        -0.14%        .          .          .       -0.07%        .       -0.10%     
 youngblood_fp16                  682        -0.05%        .          .          .       -0.08%        .       -0.11%     
 --------------------------------------------------------------------------------------------------------------------------
 All affected                     7361       -0.64%     -0.24%     -50.37%    -1.38%     -4.59%     +0.32%     -4.04%     
 --------------------------------------------------------------------------------------------------------------------------
 Total                            128321     -0.07%     -0.03%     -50.20%    -1.38%     -1.33%     +0.01%     -1.17%     
Edited by Rhys Perry

Merge request reports

Loading