summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-06-15 15:53:23 +0200
committerSamuel Pitoiset <[email protected]>2018-06-15 15:54:12 +0200
commita2f6e72138422aa688b53f55892bdd37f73a0423 (patch)
tree57a59202bb90234e9b0e02f7b9cae06a2567e6fe /src/amd
parent3befac52dbb23bbc982a265476f05bafcf9ddc9b (diff)
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 <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/vulkan/radv_meta_clear.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c
index 5303a1c9fc2..21c950c7823 100644
--- a/src/amd/vulkan/radv_meta_clear.c
+++ b/src/amd/vulkan/radv_meta_clear.c
@@ -1020,8 +1020,6 @@ emit_fast_color_clear(struct radv_cmd_buffer *cmd_buffer,
if (iview->image->info.levels > 1)
goto fail;
- if (iview->image->surface.is_linear)
- goto fail;
if (!radv_image_extent_compare(iview->image, &iview->extent))
goto fail;