projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb0034f
)
radv: don't check if format is depth in radv_image_can_enable_hile()
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Wed, 12 Dec 2018 13:15:53 +0000
(14:15 +0100)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 13 Dec 2018 08:21:21 +0000
(09:21 +0100)
This is always TRUE if htile_size is not 0.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_image.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_image.c
b/src/amd/vulkan/radv_image.c
index 0ac3d837fdb3ec56df4ab95ff067ee083e10b48f..2cff4d5283e086eef0abfac9da8cccb64cb0374f 100644
(file)
--- 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;
}