diff options
Diffstat (limited to 'src/imagination/vulkan/pvr_bo.c')
-rw-r--r-- | src/imagination/vulkan/pvr_bo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/imagination/vulkan/pvr_bo.c b/src/imagination/vulkan/pvr_bo.c index 50bf68c4519..42e12a24c68 100644 --- a/src/imagination/vulkan/pvr_bo.c +++ b/src/imagination/vulkan/pvr_bo.c @@ -581,8 +581,9 @@ VkResult pvr_bo_suballoc(struct pvr_suballocator *allocator, if (!suballoc_bo) return vk_error(allocator->device, VK_ERROR_OUT_OF_HOST_MEMORY); - /* This cache line value is used for all type of allocations (i.e. USC, PDS - * and general), so always align them to at least the size of the cache line. + /* This cache line value is used for all type of allocations (i.e. USC, PDS, + * transfer and general), so always align them to at least the size of the + * cache line. */ align = MAX2(align, cache_line_size); assert(util_is_power_of_two_nonzero(align)); |