projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
195abad
)
turnip: align layer_size
author
Jonathan Marek
<jonathan@marek.ca>
Thu, 26 Sep 2019 18:56:17 +0000
(14:56 -0400)
committer
Jonathan Marek
<jonathan@marek.ca>
Thu, 26 Sep 2019 21:18:13 +0000
(17:18 -0400)
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Eric Anholt <eric@anholt.net>
src/freedreno/vulkan/tu_image.c
patch
|
blob
|
history
diff --git
a/src/freedreno/vulkan/tu_image.c
b/src/freedreno/vulkan/tu_image.c
index 694f45802bcf44e987e35583edbdf39c7be7f15e..67f94095af0a5f722c0bcfda130bd5db357dde4b 100644
(file)
--- 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