mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 17:01:49 +01:00
Fixup index buffer view caching
We forgot to set the view size, which would end up forcing a view to be recreated with every call
This commit is contained in:
parent
c966cd3b26
commit
540437b547
@ -2668,6 +2668,7 @@ namespace skyline::gpu::interconnect {
|
||||
indexBuffer.view = executor.AcquireBufferManager().FindOrCreate(span<u8>(mapping.data(), size), executor.tag, [this](std::shared_ptr<Buffer> buffer, ContextLock<Buffer> &&lock) {
|
||||
executor.AttachLockedBuffer(buffer, std::move(lock));
|
||||
});
|
||||
indexBuffer.viewSize = size;
|
||||
return indexBuffer.view;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user