mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-06 02:25:07 +01:00
Pass correct size for XFB buffers
This commit is contained in:
parent
bd976676f4
commit
463394ba72
@ -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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user