Mesa (master): freedreno/a3xx: parameterize ubo optimization

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon May 18 00:16:33 UTC 2020


Module: Mesa
Branch: master
Commit: b5accb3ff997c073f9a9418c97ddd2365f81504f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5accb3ff997c073f9a9418c97ddd2365f81504f

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun May 17 18:08:11 2020 -0400

freedreno/a3xx: parameterize ubo optimization

A3xx apparently has higher alignment requirements than later gens for
indirect const uploads. It also has fewer of them. Add compiler
parameters for both settings, and set accordingly for a3xx and a4xx+.
This fixes all the ubo test failures caused by this optimization.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5077>

---

 .gitlab-ci/deqp-freedreno-a307-fails.txt       | 1919 ------------------------
 src/freedreno/ir3/ir3_compiler.c               |    4 +
 src/freedreno/ir3/ir3_compiler.h               |   10 +
 src/freedreno/ir3/ir3_nir_analyze_ubo_ranges.c |   24 +-
 4 files changed, 27 insertions(+), 1930 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=b5accb3ff997c073f9a9418c97ddd2365f81504f


More information about the mesa-commit mailing list