diff options
author | Samuel Pitoiset <[email protected]> | 2018-12-12 14:15:53 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-12-13 09:21:21 +0100 |
commit | 5088ba2aeb69715cfe63216cf475e8a1f43e98b8 (patch) | |
tree | f5d628c2a3bd5aa184fd92c8fe244d894168d85f /src/amd | |
parent | eb0034fe285c242a7fcf0c97aa67916c984594ec (diff) |
radv: don't check if format is depth in radv_image_can_enable_hile()
This is always TRUE if htile_size is not 0.
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_image.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index 0ac3d837fdb..2cff4d5283e 100644 --- a/src/amd/vulkan/radv_image.c +++ b/src/amd/vulkan/radv_image.c @@ -934,7 +934,6 @@ radv_image_can_enable_htile(struct radv_image *image) { return radv_image_has_htile(image) && image->info.levels == 1 && - vk_format_is_depth(image->vk_format) && image->info.width * image->info.height >= 8 * 8; } |