diff options
author | Dave Airlie <[email protected]> | 2017-02-07 10:31:11 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-02-07 10:42:01 +1000 |
commit | 90ac2285f0900972d2a3e7a034b51ee4de374ffb (patch) | |
tree | 16e0a1d38c7cf875ca41b3b09e15b26d5315e448 | |
parent | 47ca0f537dfbc03f0eb0cb12fdee06dbe664fbc7 (diff) |
radv: pass FMASK alignment to application
As was done for dcc and cmask.
Cc: "17.0" <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index 1581645b18d..461d6689c7d 100644 --- 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 |