diff options
author | Marek Olšák <[email protected]> | 2018-06-21 22:50:51 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-06-25 18:33:58 -0400 |
commit | 3da693b7d98782437c25b1f6c2d0efb3a398246b (patch) | |
tree | 34ee4de05b7c3693d646e4651b941beb982d4853 /src/amd/vulkan | |
parent | 2d64a68c6f38b6dab8f0d2b8968e009c25bcc9f5 (diff) |
ac/surface: move cmask_size/alignment into radeon_surf
cmask_size is changed to uint32_t because it can't be greater than 4GB.
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index 24f974ac496..826f898d281 100644 --- a/src/amd/vulkan/radv_image.c +++ b/src/amd/vulkan/radv_image.c @@ -772,8 +772,8 @@ radv_image_get_cmask_info(struct radv_device *device, unsigned cl_width, cl_height; if (device->physical_device->rad_info.chip_class >= GFX9) { - out->alignment = image->surface.u.gfx9.cmask_alignment; - out->size = image->surface.u.gfx9.cmask_size; + out->alignment = image->surface.cmask_alignment; + out->size = image->surface.cmask_size; return; } |