radv: Initialize DCC on transition from preinitialized.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 11 Jan 2018 12:21:50 +0000 (13:21 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 18 Jan 2018 00:57:52 +0000 (01:57 +0100)
commit2ce11ac11fee594ca01608c4006b38c0c8ea37ff
treeabe834e49005a77c17a5ee7c5d0c07b350f9c658
parente2b9296146746635cd631c5212ae56f0cd270820
radv: Initialize DCC on transition from preinitialized.

Looks like the decompress does not handle invalid encodings well,
which happens with random memory. Of course apps should not use it
with random memory, but they are allowed to ....

Fixes: 44fcf58744 "radv: Disable DCC for GENERAL layout and compute transfer dest."
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c