panfrost: Size tiled temp buffers correctly
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Wed, 3 Apr 2019 03:52:36 +0000 (03:52 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Thu, 4 Apr 2019 03:51:43 +0000 (03:51 +0000)
commitb34d8222c7874bded1d8b3849252f40aadc7e1b5
treef3fef2306c0a53e6a999d2509d44f2fa31df37ca
parentc0183e8eedec8f4e023ca312456ae957c9dafbe7
panfrost: Size tiled temp buffers correctly

This should lower transient memory usage and improve performance
slightly (due to less memory to malloc/free, better cache locality,
etc).

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/pan_resource.c
src/gallium/drivers/panfrost/pan_swizzle.c
src/gallium/drivers/panfrost/pan_swizzle.h