projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bae1e4
)
radv: Disable HTILE for textures with multiple layers/levels.
author
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Mon, 6 Mar 2017 22:23:57 +0000
(23:23 +0100)
committer
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Mon, 6 Mar 2017 22:58:57 +0000
(23:58 +0100)
It has issues and the fix I'm working on is too complicated for stable,
so disable for now.
Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
CC: 13.0 17.0 <mesa-stable@lists.freedesktop.org>
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 461d6689c7d28ac18a17bd723d7ef1d62fcee4e8..b71d8b75a0bf5755da455a4a79d0c3358beab7ed 100644
(file)
--- a/
src/amd/vulkan/radv_image.c
+++ b/
src/amd/vulkan/radv_image.c
@@
-655,6
+655,9
@@
radv_image_alloc_htile(struct radv_device *device,
if (device->debug_flags & RADV_DEBUG_NO_HIZ)
return;
+ if (image->array_size > 1 || image->levels > 1)
+ return;
+
image->htile.size = radv_image_get_htile_size(device, image);
if (!image->htile.size)