radv: Don't enable DCC / TC compat HTILE for storage images.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 23 Dec 2017 10:42:18 +0000 (11:42 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 29 Dec 2017 11:21:15 +0000 (12:21 +0100)
commitfc80f52536e5c950796619ce3ca90a1287f64421
tree5618a2768970e12c537c963d1eff5f394c13e467
parent516a80b579163ef0894bb2fe2922912ef8599205
radv: Don't enable DCC / TC compat HTILE for storage images.

We don't get a layout when binding to a descriptor set, but can
assume that the LAYOUT is GENERAL.

For DCC stores with the DCC bits set will result in a hang, so
better be safe than sorry.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/amd/vulkan/radv_image.c