diff options
author | Jonathan Marek <[email protected]> | 2019-09-26 14:56:17 -0400 |
---|---|---|
committer | Jonathan Marek <[email protected]> | 2019-09-26 17:18:13 -0400 |
commit | 02ca326a04762421f08b0591bbfec0ed818bb2e3 (patch) | |
tree | 62f8425f65de05be8d889a5b03d23813769d40d2 /src/freedreno | |
parent | 195abadd2c0d589f9b29a3061c6b2b72f1450151 (diff) |
turnip: align layer_size
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/freedreno')
-rw-r--r-- | src/freedreno/vulkan/tu_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/tu_image.c b/src/freedreno/vulkan/tu_image.c index 694f45802bc..67f94095af0 100644 --- a/src/freedreno/vulkan/tu_image.c +++ b/src/freedreno/vulkan/tu_image.c @@ -121,7 +121,7 @@ setup_slices(struct tu_image *image, const VkImageCreateInfo *pCreateInfo) depth = u_minify(depth, 1); } - image->layer_size = layer_size; + image->layer_size = align(layer_size, 4096); } VkResult |