Skip to content

anv: simplify buffer address+size loads from descriptor buffer

A small optimization cutting a bunch of instructions for querying buffer sizes.

Only 2 impacted titles :

PERCENTAGE DELTAS Shaders   Instrs    Cycles
cyberpunk_2077    10388     -0.00%    -0.00%
-----------------------------------------------
All affected      1         -2.24%    -0.39%
-----------------------------------------------
Total             10388     -0.00%    -0.00%

PERCENTAGE DELTAS    Shaders   Instrs    Cycles
red_dead_redemption2 5949      -0.10%    -0.00%
--------------------------------------------------
All affected         111       -0.74%    -0.14%
--------------------------------------------------
Total                5949      -0.10%    -0.00%
Edited by Lionel Landwerlin

Merge request reports

Loading