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
MoltenVK
Queries
Shaders
Auto.cs
AutoFlushCounter.cs
BackgroundResources.cs
BarrierBatch.cs
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
BufferUsageBitmap.cs
CacheByRange.cs
CommandBufferPool.cs
CommandBufferScoped.cs
Constants.cs
DescriptorSetCollection.cs
DescriptorSetManager.cs
DescriptorSetTemplate.cs
DescriptorSetTemplateUpdater.cs
DescriptorSetUpdater.cs
DisposableBuffer.cs
DisposableBufferView.cs
DisposableFramebuffer.cs
DisposableImage.cs
DisposableImageView.cs
DisposableMemory.cs
DisposablePipeline.cs
DisposableRenderPass.cs
DisposableSampler.cs
EnumConversion.cs GPU: Migrate buffers on GPU project, pre-emptively flush device local mappings (#6794) 2024-05-19 16:53:37 -03:00
FeedbackLoopAspects.cs
FenceHelper.cs
FenceHolder.cs
FormatCapabilities.cs
FormatConverter.cs
FormatTable.cs Implement X8Z24 texture format (#6315) 2024-02-15 19:06:26 -03:00
FramebufferParams.cs
HardwareCapabilities.cs
HashTableSlim.cs
HelperShader.cs
HostMemoryAllocator.cs
IdList.cs
ImageArray.cs
IndexBufferPattern.cs
IndexBufferState.cs
MemoryAllocation.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
MemoryAllocator.cs
MemoryAllocatorBlockList.cs
MultiFenceHolder.cs Disallow concurrent fence waits on Adreno (#7001) 2024-07-07 19:33:28 -03:00
NativeArray.cs
PersistentFlushBuffer.cs
PipelineBase.cs
PipelineConverter.cs
PipelineDynamicState.cs
PipelineFull.cs
PipelineHelperShader.cs
PipelineLayoutCache.cs
PipelineLayoutCacheEntry.cs
PipelineLayoutFactory.cs
PipelineState.cs
PipelineUid.cs
RenderPassCacheKey.cs
RenderPassHolder.cs
ResourceArray.cs
ResourceBindingSegment.cs
ResourceLayoutBuilder.cs
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
Shader.cs
ShaderCollection.cs
SpecInfo.cs
StagingBuffer.cs
SyncManager.cs
TextureArray.cs
TextureBuffer.cs
TextureCopy.cs
TextureStorage.cs
TextureView.cs
Vendor.cs
VertexBufferState.cs
VertexBufferUpdater.cs
VulkanConfiguration.cs
VulkanDebugMessenger.cs
VulkanException.cs Allow skipping draws with broken pipeline variants on Vulkan (#5807) 2024-01-26 13:58:57 -03:00
VulkanInitialization.cs
VulkanInstance.cs
VulkanPhysicalDevice.cs
VulkanRenderer.cs
Window.cs
WindowBase.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00