Ryujinx/src/Ryujinx.Graphics.Vulkan
MaxLastBreath d86249cb0a
Convert MaxTextureCacheCapacity to Dynamic MaxTextureCacheCapacity for High Resolution Mod support. (#7307)
* Add Texture Size Capacity and 8GB Dram Build

* Update AutoDeleteCache.cs

* Dynamic Texture Cache (WIP)

* Change to float Multiplier, in-case it needs fine-tuning.

* Delete src/src.sln

* Update AutoDeleteCache.cs

* Format

* Fix Formatting

* Add DefaultTextureSizeCapacity and MemoryScaleFactor

- Also remove redundant New Lines

* Fix 4GB dram crashing

* Format newline

* Refractor

- Added Initialize() function to TextureCache and AutoDeleteCache
- Removed GetMaxTextureCapacity() function and instead added _maxCacheMemoryUsage
- Added private const MaxTextureSizeCapacity to AutoDelete Cache
- Added TextureCache.Initialize() to MemoryManager in order to fetch MaxGpuMemory at the right time.
- Moved and Changed Logger.Info for Gpu Memory to Logger.Notice and Moved it to PrintGpuInformation function.
- Opted to use a ternary operator for the Initialize function, I think it looks cleaner than bunch of if statements.

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* maxMemory to CacheMemory, use Clamp instead of Ternary. Changed MinTextureCapacity 1GiB to 512 MiB

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* Format comment

* comment context

* Increase TextureSize capacity for OpenGL back to 1024

- Added a new const ulong for OpenGLTextureSizeCapacity

* Fix changes from last commit.

* Adjust last OpenGL changes.

* Remove garbage VSC file

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

---------

Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2024-09-26 14:33:38 -03:00
..
Effects Change image format view handling to allow view incompatible formats (#7311) 2024-09-17 15:52:30 -03:00
MoltenVK Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
Queries Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
Shaders
Auto.cs
AutoFlushCounter.cs
BackgroundResources.cs Use draw clear on Adreno, instead of vkCmdClearAttachments (#7013) 2024-07-10 17:52:45 -03:00
BarrierBatch.cs Vulkan: Feedback loop detection and barriers (#7226) 2024-09-01 21:28:16 -03:00
BitMap.cs
BitMapStruct.cs
BufferAllocationType.cs
BufferHolder.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
BufferManager.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
BufferMirrorRangeList.cs
BufferState.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
BufferUsageBitmap.cs
CacheByRange.cs
CommandBufferPool.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
CommandBufferScoped.cs Remove CommandBufferScoped Dependencies (#6958) 2024-07-16 17:01:06 -03:00
Constants.cs
DescriptorSetCollection.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
DescriptorSetManager.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
DescriptorSetTemplate.cs
DescriptorSetTemplateUpdater.cs
DescriptorSetUpdater.cs Change image format view handling to allow view incompatible formats (#7311) 2024-09-17 15:52:30 -03:00
DisposableBuffer.cs
DisposableBufferView.cs
DisposableFramebuffer.cs
DisposableImage.cs
DisposableImageView.cs
DisposableMemory.cs
DisposablePipeline.cs
DisposableRenderPass.cs
DisposableSampler.cs
EnumConversion.cs
FeedbackLoopAspects.cs Vulkan: Feedback loop detection and barriers (#7226) 2024-09-01 21:28:16 -03:00
FenceHelper.cs
FenceHolder.cs Disallow concurrent fence waits on Adreno (#7001) 2024-07-07 19:33:28 -03:00
FormatCapabilities.cs
FormatConverter.cs
FormatTable.cs
FramebufferParams.cs Vulkan: Feedback loop detection and barriers (#7226) 2024-09-01 21:28:16 -03:00
HardwareCapabilities.cs Vulkan: Feedback loop detection and barriers (#7226) 2024-09-01 21:28:16 -03:00
HashTableSlim.cs
HelperShader.cs Change image format view handling to allow view incompatible formats (#7311) 2024-09-17 15:52:30 -03:00
HostMemoryAllocator.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
IdList.cs
ImageArray.cs Change image format view handling to allow view incompatible formats (#7311) 2024-09-17 15:52:30 -03:00
IndexBufferPattern.cs
IndexBufferState.cs
MemoryAllocation.cs
MemoryAllocator.cs
MemoryAllocatorBlockList.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
MultiFenceHolder.cs Disallow concurrent fence waits on Adreno (#7001) 2024-07-07 19:33:28 -03:00
NativeArray.cs
PersistentFlushBuffer.cs
PipelineBase.cs Fix quads draws after DrawTexture on Vulkan (#7336) 2024-09-22 19:36:53 -03:00
PipelineConverter.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
PipelineDynamicState.cs Vulkan: Feedback loop detection and barriers (#7226) 2024-09-01 21:28:16 -03:00
PipelineFull.cs Vulkan: Feedback loop detection and barriers (#7226) 2024-09-01 21:28:16 -03:00
PipelineHelperShader.cs
PipelineLayoutCache.cs
PipelineLayoutCacheEntry.cs Vulkan separate descriptor set fixes (#6895) 2024-06-02 22:40:28 -03:00
PipelineLayoutFactory.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
PipelineState.cs Vulkan: Feedback loop detection and barriers (#7226) 2024-09-01 21:28:16 -03:00
PipelineUid.cs GPU: Remove unused dynamic state and pipeline settings (#6796) 2024-06-02 22:32:10 -03:00
RenderPassCacheKey.cs
RenderPassHolder.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
ResourceArray.cs Fix NRE when using buffer image array (#7159) 2024-08-21 00:49:17 +01:00
ResourceBindingSegment.cs
ResourceLayoutBuilder.cs Vulkan: Defer guest barriers, and improve image barrier timings (#7012) 2024-07-17 20:21:32 -03:00
Ryujinx.Graphics.Vulkan.csproj Add area sampling scaler to allow for super-sampled anti-aliasing. (#7304) 2024-09-17 15:30:50 -03:00
SamplerHolder.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
Shader.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
ShaderCollection.cs Vulkan: Defer guest barriers, and improve image barrier timings (#7012) 2024-07-17 20:21:32 -03:00
SpecInfo.cs
StagingBuffer.cs
SyncManager.cs
TextureArray.cs Fix NRE when using buffer image array (#7159) 2024-08-21 00:49:17 +01:00
TextureBuffer.cs Replace passing by IMemoryOwner<byte> with passing by concrete MemoryOwner<byte> (#7171) 2024-09-18 23:00:54 -03:00
TextureCopy.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
TextureStorage.cs Vulkan: Feedback loop detection and barriers (#7226) 2024-09-01 21:28:16 -03:00
TextureView.cs Replace passing by IMemoryOwner<byte> with passing by concrete MemoryOwner<byte> (#7171) 2024-09-18 23:00:54 -03:00
Vendor.cs Vulkan: Update Silk.NET to 2.21 (#7266) 2024-09-01 17:33:11 -03:00
VertexBufferState.cs
VertexBufferUpdater.cs
VulkanConfiguration.cs
VulkanDebugMessenger.cs
VulkanException.cs
VulkanInitialization.cs Vulkan: Feedback loop detection and barriers (#7226) 2024-09-01 21:28:16 -03:00
VulkanInstance.cs
VulkanPhysicalDevice.cs
VulkanRenderer.cs Convert MaxTextureCacheCapacity to Dynamic MaxTextureCacheCapacity for High Resolution Mod support. (#7307) 2024-09-26 14:33:38 -03:00
Window.cs Add area sampling scaler to allow for super-sampled anti-aliasing. (#7304) 2024-09-17 15:30:50 -03:00
WindowBase.cs