radv: Disable subsampled formats.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 5 May 2019 23:42:21 +0000 (01:42 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 6 May 2019 09:53:37 +0000 (09:53 +0000)
commit5cbe12ad1b8934c932f19070044563b9f3b9ab21
treeb300d045e678bbb0be0c8248a592af1ab743cf7d
parent1af72fa4d665b9847dff9b22d7a7dea01c0960c7
radv: Disable subsampled formats.

Broken on Polaris and since I discovered NV12 is not subsampled, but
a 2-plane format I decided I don't really care.

Work to do to re-enable:

1) Figure out which devices support it natively.
2) Write some software emulation for the others.

Fixes: 52c1adda21b "radv: Add ycbcr format features."
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_formats.c