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:
05d969f
)
nvk: reduce pitch even further in CmdFillBuffer
author
Karol Herbst
<kherbst@redhat.com>
Sat, 11 Jun 2022 13:07:10 +0000
(15:07 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:54 +0000
(21:31 +0000)
otherwise the coords would overflow hw limits.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_cmd_blit.c
patch
|
blob
|
history
diff --git
a/src/nouveau/vulkan/nvk_cmd_blit.c
b/src/nouveau/vulkan/nvk_cmd_blit.c
index
65e07e2
..
6543b81
100644
(file)
--- a/
src/nouveau/vulkan/nvk_cmd_blit.c
+++ b/
src/nouveau/vulkan/nvk_cmd_blit.c
@@
-175,7
+175,7
@@
nvk_CmdFillBuffer(
VkDeviceSize end = start + fillSize / 4;
/* can't go higher for whatever reason */
- uint32_t pitch = 1 <<
21
;
+ uint32_t pitch = 1 <<
19
;
uint32_t line = pitch / 4;
nouveau_ws_push_ref(push, dst->mem->bo, NOUVEAU_WS_BO_WR);