[Mesa-dev] [PATCH] radv: set cb base tile swizzles for MRT speedups (v2)

Dave Airlie airlied at gmail.com
Mon Jul 10 04:17:49 UTC 2017


On 10 July 2017 at 12:20, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This patch uses addrlib to workout the tile swizzles according
> to the surface index. It seems to produce the same values as
> amdgpu-pro for the deferred test.
>
> v2: don't apply swizzle to CMASK. the eg docs don't mention
> it, and we clearly don't align cmask for that.
>
> This gets the deferred demo from 730->950fps on my rx480.
> (dcc cmask elim predication patches get it further)
> I'm also seeing some improvements in Mad Max at 4K

I'm not sure I can confirm those, though it seems like a few fps more.

pts seems to pick up old results files for mad max for some reasons.

but otherwise everything still seems to run fine.

Dave.


More information about the mesa-dev mailing list