radv: Use correct image view comparison for fast clears.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 18 Mar 2019 21:20:40 +0000 (22:20 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 18 Mar 2019 23:39:47 +0000 (00:39 +0100)
commita777c3d7cb0a89f6c63a637e6db32cc1bf33b54c
tree779867dae74cf91de3c0259734a1286e08d383a8
parent493b3ada9b177e1294168e27cf4ab2b9886a33e4
radv: Use correct image view comparison for fast clears.

The if is actually returning true on success, enabling fast clears, so we
need to have the test succeed when the iview dimensions are right.

Fixes: d5400a5ec2a "radv: provide a helper for comparing an image extents."
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_clear.c