mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-14 04:36:59 +00:00
misc: chore: Fix object creation in Gpu project
This commit is contained in:
parent
4e47c86f90
commit
929a16dd26
18 changed files with 231 additions and 231 deletions
|
|
@ -992,7 +992,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||
bool isImage,
|
||||
out bool isNew)
|
||||
{
|
||||
CacheEntryFromPoolKey key = new CacheEntryFromPoolKey(isImage, bindingInfo, texturePool, samplerPool);
|
||||
CacheEntryFromPoolKey key = new(isImage, bindingInfo, texturePool, samplerPool);
|
||||
|
||||
isNew = !_cacheFromPool.TryGetValue(key, out CacheEntry entry);
|
||||
|
||||
|
|
@ -1035,7 +1035,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||
ref BufferBounds textureBufferBounds,
|
||||
out bool isNew)
|
||||
{
|
||||
CacheEntryFromBufferKey key = new CacheEntryFromBufferKey(
|
||||
CacheEntryFromBufferKey key = new(
|
||||
isImage,
|
||||
bindingInfo,
|
||||
texturePool,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue