turnip: align layer_size
Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Acked-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
195abadd2c
commit
02ca326a04
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue