projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47ca0f5
)
radv: pass FMASK alignment to application
author
Dave Airlie
<airlied@redhat.com>
Tue, 7 Feb 2017 00:31:11 +0000
(10:31 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 7 Feb 2017 00:42:01 +0000
(10:42 +1000)
As was done for dcc and cmask.
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
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 1581645b18d1037e5a82361691f99ebe076080db..461d6689c7d28ac18a17bd723d7ef1d62fcee4e8 100644
(file)
--- a/
src/amd/vulkan/radv_image.c
+++ b/
src/amd/vulkan/radv_image.c
@@
-510,6
+510,7
@@
radv_image_alloc_fmask(struct radv_device *device,
image->fmask.offset = align64(image->size, image->fmask.alignment);
image->size = image->fmask.offset + image->fmask.size;
+ image->alignment = MAX2(image->alignment, image->fmask.alignment);
}
static void