radv: fix picking the method for resolve subpass
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 10 Apr 2018 14:00:56 +0000 (16:00 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 10 Apr 2018 19:55:28 +0000 (21:55 +0200)
commit0babc8e5d665e54783c926b89183ab9a596aa04c
treec917b0a28a00d833714c95aed22dd8b595fd1506
parent9f6a28eb27ca059cbadfa5e277bfe4509a426615
radv: fix picking the method for resolve subpass

The source and destination image parameters were swapped.

No CTS changes on Polaris10, but I suspect this might
fix something.

Fixes: 2a04f5481df ("radv/meta: select resolve paths")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta_resolve.c