radv: sink load_ssbo
fossil-db (GFX10.3): Totals from 11485 (8.24% of 139391) affected shaders: SGPRs: 1032456 -> 1033696 (+0.12%); split: -0.69%, +0.81% VGPRs: 815332 -> 807448 (-0.97%); split: -1.04%, +0.07% SpillSGPRs: 18014 -> 13497 (-25.07%); split: -28.28%, +3.20% SpillVGPRs: 1821 -> 1749 (-3.95%) CodeSize: 101194172 -> 101235028 (+0.04%); split: -0.06%, +0.10% Scratch: 198656 -> 178176 (-10.31%) MaxWaves: 86703 -> 87219 (+0.60%); split: +0.67%, -0.07% Instrs: 19224250 -> 19238562 (+0.07%); split: -0.05%, +0.13% Cycles: 1486045388 -> 1487481292 (+0.10%); split: -0.03%, +0.13% VMEM: 2040484 -> 2127647 (+4.27%); split: +6.64%, -2.37% SMEM: 724060 -> 674966 (-6.78%); split: +1.22%, -8.00% VClause: 312375 -> 314735 (+0.76%); split: -0.26%, +1.02% SClause: 702274 -> 711991 (+1.38%); split: -0.77%, +2.15% Copies: 1413440 -> 1422782 (+0.66%); split: -0.45%, +1.11% Branches: 658696 -> 658838 (+0.02%); split: -0.12%, +0.14% PreSGPRs: 884666 -> 879736 (-0.56%); split: -1.30%, +0.74% PreVGPRs: 777374 -> 769947 (-0.96%) Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6490>
This commit is contained in:
parent
a6d92eaf4f
commit
9f389af35f
|
@ -3412,10 +3412,10 @@ VkResult radv_create_shaders(struct radv_pipeline *pipeline,
|
|||
|
||||
/* cleanup passes */
|
||||
nir_lower_load_const_to_scalar(nir[i]);
|
||||
nir_move_options move_opts = (nir_move_options)(
|
||||
nir_move_options move_opts =
|
||||
nir_move_const_undef | nir_move_load_ubo | nir_move_load_input |
|
||||
nir_move_comparisons | nir_move_copies);
|
||||
nir_opt_sink(nir[i], move_opts);
|
||||
nir_move_comparisons | nir_move_copies;
|
||||
nir_opt_sink(nir[i], move_opts | nir_move_load_ssbo);
|
||||
nir_opt_move(nir[i], move_opts);
|
||||
|
||||
radv_stop_feedback(stage_feedbacks[i], false);
|
||||
|
|
Loading…
Reference in New Issue