mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 19:00:13 +01:00
nvk: reduce pitch for FillBuffer
Signed-off-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
1eb63dd19a
commit
cd48710176
1 changed files with 2 additions and 2 deletions
|
|
@ -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 << 19;
|
||||
/* Pascal could do 1 << 19, but previous gens need lower pitches */
|
||||
uint32_t pitch = 1 << 18;
|
||||
uint32_t line = pitch / 4;
|
||||
|
||||
struct nv_push *p = nvk_cmd_buffer_push(cmd, 33);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue