Re: [Mesa-dev] [PATCH] radv: do not allocate CMASK or DCC for small surfaces

2017-11-29 Thread Dieter Nützel
Tested-by: Dieter Nützel on RX580 with F1 2017 Dieter Am 29.11.2017 14:48, schrieb Samuel Pitoiset: The idea is ported from RadeonSI, but using 512x512 instead of 256x256 seems slightly better. This improves dota2 performance by +2%. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_

Re: [Mesa-dev] [PATCH] radv: do not allocate CMASK or DCC for small surfaces

2017-11-29 Thread Dave Airlie
On 29 November 2017 at 23:48, Samuel Pitoiset wrote: > The idea is ported from RadeonSI, but using 512x512 instead of > 256x256 seems slightly better. This improves dota2 performance > by +2%. I wonder if the threshold is different on some sort of GPU basis (mem bw). But this seems like the best

[Mesa-dev] [PATCH] radv: do not allocate CMASK or DCC for small surfaces

2017-11-29 Thread Samuel Pitoiset
The idea is ported from RadeonSI, but using 512x512 instead of 256x256 seems slightly better. This improves dota2 performance by +2%. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_image.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/amd/vulkan/radv_image.c b/src/a