Skip to content

v3dv: fix stride in buffer copy

Lukas Feller requested to merge luckyxxl/mesa:fix_v3dv_copy_buffer into master

I observed that vkCmdBobyBuffer was misbehaving for my (fairly small) Vulkan application. This MR fixes it for my use case. I have only limited capacities, so I didn't yet run any test suite to make sure that this does not introduce a regression. And I guess it would make sense to add some more tests that would have caught this issue. I'm willing to do that. Where would be the best location?

The assertion in v3dv_cmd_buffer.c is unrelated to the issue, this is just something that caught my eye while stepping through the code. Would it be worth it to open a separate MR for that?

Merge request reports