ryujinx/Ryujinx.Graphics.Gpu/Image
riperiperi 4965681e06
GPU: Swap bindings array instead of copying (#4003)
* GPU: Swap bindings array instead of copying

Reduces work on UpdateShaderState. Now the cost is a few reference moves for arrays, rather than copying data.

Downside: bindings arrays are no longer readonly.

* Micro optimisation

* Add missing docs

* Address Feedback
2022-12-04 18:18:40 +01:00
..
AutoDeleteCache.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
FormatInfo.cs
FormatTable.cs Replace image format magic numbers with enums (#3631) 2022-08-28 01:56:26 +00:00
ITextureDescriptor.cs
Pool.cs Ensure texture ID is valid before getting texture descriptor (#3406) 2022-06-24 02:41:57 +02:00
PoolCache.cs Add a sampler pool cache and improve texture pool cache (#3487) 2022-07-27 21:07:48 -03:00
ReductionFilter.cs
Sampler.cs
SamplerDescriptor.cs
SamplerMinFilter.cs
SamplerMipFilter.cs
SamplerPool.cs Add a sampler pool cache and improve texture pool cache (#3487) 2022-07-27 21:07:48 -03:00
SamplerPoolCache.cs Add a sampler pool cache and improve texture pool cache (#3487) 2022-07-27 21:07:48 -03:00
Texture.cs Minor improvement to Vulkan pipeline state and bindings management (#3829) 2022-11-10 13:38:38 -03:00
TextureBindingInfo.cs
TextureBindingsManager.cs GPU: Swap bindings array instead of copying (#4003) 2022-12-04 18:18:40 +01:00
TextureCache.cs Fast path for Inline-to-Memory texture data transfers (#3610) 2022-08-26 02:16:41 +00:00
TextureCompatibility.cs Vulkan: Implement multisample <-> non-multisample copies and depth-stencil resolve (#3723) 2022-11-02 18:17:19 -03:00
TextureComponent.cs
TextureDependency.cs
TextureDescriptor.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
TextureDescriptorType.cs
TextureGroup.cs GPU: Pass SpanOrArray for Texture SetData to avoid copy (#3745) 2022-10-08 12:04:47 -03:00
TextureGroupHandle.cs
TextureInfo.cs
TextureManager.cs GPU: Swap bindings array instead of copying (#4003) 2022-12-04 18:18:40 +01:00
TextureMatchQuality.cs
TextureMsaaMode.cs
TexturePool.cs Add a sampler pool cache and improve texture pool cache (#3487) 2022-07-27 21:07:48 -03:00
TexturePoolCache.cs Add a sampler pool cache and improve texture pool cache (#3487) 2022-07-27 21:07:48 -03:00
TextureScaleMode.cs
TextureSearchFlags.cs
TextureTarget.cs
TextureViewCompatibility.cs