early-access version 1292
This commit is contained in:
parent
210a322d74
commit
839ac182dc
3 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 1291.
|
This is the source code for early-access 1292.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ private:
|
||||||
u64 tick = 0;
|
u64 tick = 0;
|
||||||
|
|
||||||
StagingBufferRef Ref() const noexcept {
|
StagingBufferRef Ref() const noexcept {
|
||||||
return StagingBufferRef{
|
return {
|
||||||
.buffer = *buffer,
|
.buffer = *buffer,
|
||||||
.mapped_span = mapped_span,
|
.mapped_span = mapped_span,
|
||||||
};
|
};
|
||||||
|
|
|
@ -555,7 +555,7 @@ void TextureCacheRuntime::Finish() {
|
||||||
|
|
||||||
ImageBufferMap TextureCacheRuntime::MapUploadBuffer(size_t size) {
|
ImageBufferMap TextureCacheRuntime::MapUploadBuffer(size_t size) {
|
||||||
const auto staging_ref = staging_buffer_pool.Request(size, MemoryUsage::Upload);
|
const auto staging_ref = staging_buffer_pool.Request(size, MemoryUsage::Upload);
|
||||||
return ImageBufferMap{
|
return {
|
||||||
.handle = staging_ref.buffer,
|
.handle = staging_ref.buffer,
|
||||||
.span = staging_ref.mapped_span,
|
.span = staging_ref.mapped_span,
|
||||||
};
|
};
|
||||||
|
@ -563,7 +563,7 @@ ImageBufferMap TextureCacheRuntime::MapUploadBuffer(size_t size) {
|
||||||
|
|
||||||
ImageBufferMap TextureCacheRuntime::MapDownloadBuffer(size_t size) {
|
ImageBufferMap TextureCacheRuntime::MapDownloadBuffer(size_t size) {
|
||||||
const auto staging_ref = staging_buffer_pool.Request(size, MemoryUsage::Download);
|
const auto staging_ref = staging_buffer_pool.Request(size, MemoryUsage::Download);
|
||||||
return ImageBufferMap{
|
return {
|
||||||
.handle = staging_ref.buffer,
|
.handle = staging_ref.buffer,
|
||||||
.span = staging_ref.mapped_span,
|
.span = staging_ref.mapped_span,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue