radv: Don't allow fmask swizzling for shareable images.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 7 Aug 2017 21:34:00 +0000 (23:34 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 7 Aug 2017 21:44:59 +0000 (23:44 +0200)
commita6a6146aa91154fd31fb218bc60345bdda0d4f5d
treea1a597e24b508e9b432da36d1075d4199caf5d9b
parenta2703fc119e8e806c6a8f47d665709d9e84aaa6a
radv: Don't allow fmask swizzling for shareable images.

Also adds an assert because you never know how the winsys changes, and
multiprocess format differences are annoying.

Fixes: 1e696b962b7 "radv: add separate fmask tile swizzle counter."
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_image.c