diff options
author | Samuel Pitoiset <[email protected]> | 2017-09-29 17:11:12 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-10-02 11:56:20 +0200 |
commit | 6f1447c09021bee9d4c442a1c8395ea8a90e4559 (patch) | |
tree | a1c8bfb4e44a18cf8a834bb4098c93ed4bd33fe3 /src | |
parent | 06dbe0722f8109d8cc7b1c7edf0dc3d4ce6f0d08 (diff) |
radv: do not check the number of levels when doing fast htile
We shouldn't reach this point because HTILE is only enabled
when the number of levels is 1.
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 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c index 64d3bac7f1b..1133024d588 100644 --- a/src/amd/vulkan/radv_meta_clear.c +++ b/src/amd/vulkan/radv_meta_clear.c @@ -693,9 +693,6 @@ emit_fast_htile_clear(struct radv_cmd_buffer *cmd_buffer, if (iview->image->info.array_size != iview->layer_count) goto fail; - if (iview->image->info.levels > 1) - goto fail; - if (!radv_image_extent_compare(iview->image, &iview->extent)) goto fail; |