diff options
author | Samuel Pitoiset <[email protected]> | 2018-06-15 15:53:23 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-06-15 15:54:12 +0200 |
commit | a2f6e72138422aa688b53f55892bdd37f73a0423 (patch) | |
tree | 57a59202bb90234e9b0e02f7b9cae06a2567e6fe /src | |
parent | 3befac52dbb23bbc982a265476f05bafcf9ddc9b (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')
-rw-r--r-- | src/amd/vulkan/radv_meta_clear.c | 2 |
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; |