radv: don't check for linear images in emit_fast_color_clear()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 15 Jun 2018 13:53:23 +0000 (15:53 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 15 Jun 2018 13:54:12 +0000 (15:54 +0200)
commita2f6e72138422aa688b53f55892bdd37f73a0423
tree57a59202bb90234e9b0e02f7b9cae06a2567e6fe
parent3befac52dbb23bbc982a265476f05bafcf9ddc9b
radv: don't check for linear images in emit_fast_color_clear()

We don't enable CMASK for linear surfaces and addrlib only
enables DCC for tiling surfaces.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta_clear.c