projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eb63dd
)
nvk: reduce pitch for FillBuffer
author
Karol Herbst
<kherbst@redhat.com>
Sat, 10 Sep 2022 01:40:21 +0000
(
03:40
+0200)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 4 Aug 2023 21:32:02 +0000
(21:32 +0000)
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_cmd_copy.c
patch
|
blob
|
history
diff --git
a/src/nouveau/vulkan/nvk_cmd_copy.c
b/src/nouveau/vulkan/nvk_cmd_copy.c
index
4315e4a
..
6623189
100644
(file)
--- a/
src/nouveau/vulkan/nvk_cmd_copy.c
+++ b/
src/nouveau/vulkan/nvk_cmd_copy.c
@@
-566,8
+566,8
@@
nvk_CmdFillBuffer(VkCommandBuffer commandBuffer,
VkDeviceSize start = dstOffset / 4;
VkDeviceSize end = start + fillSize / 4;
- /*
can't go higher for whatever reason
*/
- uint32_t pitch = 1 << 1
9
;
+ /*
Pascal could do 1 << 19, but previous gens need lower pitches
*/
+ uint32_t pitch = 1 << 1
8
;
uint32_t line = pitch / 4;
struct nv_push *p = nvk_cmd_buffer_push(cmd, 33);