Skip to content

v3d: optimize unifa/ldunifa sequences

Iago Toral requested to merge itoral/mesa:v3d_ldunifa_opt into master

This allows us to:

  • Remove unused trailing ldunifa in a unifa/ldunifa sequence.
  • Remove unused leading ldunifa in a unifa/ldunifa by updating the unifa address.
  • Skip a unifa write for a follow-up UBO load if it reads right after the last ldunifa.

This gives another big performance boost to the UE4 Shooter demo, particularly if it is paired with disabling robust buffer access.

Edited by Iago Toral

Merge request reports