Pass correct size for XFB buffers

This commit is contained in:
Billy Laws 2022-10-25 20:53:29 +01:00
parent bd976676f4
commit 463394ba72

View File

@ -103,6 +103,7 @@ namespace skyline::gpu::interconnect::maxwell3d {
void Record(GPU &gpu, vk::raii::CommandBuffer &commandBuffer) { void Record(GPU &gpu, vk::raii::CommandBuffer &commandBuffer) {
base.buffer = view.GetBuffer()->GetBacking(); base.buffer = view.GetBuffer()->GetBacking();
base.offset = view.GetOffset(); base.offset = view.GetOffset();
base.size = view.size;
base.Record(gpu, commandBuffer); base.Record(gpu, commandBuffer);
} }
@ -362,6 +363,7 @@ namespace skyline::gpu::interconnect::maxwell3d {
.binding = index, .binding = index,
.buffer = binding.buffer, .buffer = binding.buffer,
.offset = binding.offset, .offset = binding.offset,
.size = binding.size
}); });
} }