radv: Use correct color format for fast clears
authorPhilip Rebohle <philip.rebohle@tu-dortmund.de>
Mon, 28 May 2018 12:10:41 +0000 (14:10 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 5 Jun 2018 21:51:03 +0000 (23:51 +0200)
commitcc21e96d5f412aae5d3982dde0d4c926e8d049e8
tree22b14e7a2fe4ea9ee214cf5806b8197bf8554ca0
parent2b1b2cbf619f9b3d578dabb0956bd5a248b6a89c
radv: Use correct color format for fast clears

Using the image format is incorrect when the view has a different
format than the image. Instead, the view format needs to be used.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
CC: 18.1 <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106687
src/amd/vulkan/radv_meta_clear.c