ryujinx/Ryujinx.Graphics.Gpu/Image
riperiperi e4f68592c3
Fix partial updates for textures. (#4401)
I was forcing some types of texture to partially update when investigating performance with games that stream in data, and noticed that partially loading texture data was really broken on both backends.

Fixes Vulkan texture set by getting the correct expected size for the texture. Fixes partial upload on both backends for both Texture 2D Array and Cubemap using the wrong offset and uploading to the first layer/level for a handle. 3D might also be affected.

This might fix textures randomly having incorrect data in games that render to it - jumbled in the case of OpenGL, and outdated/black in the case of Vulkan. This case typically happens in UE4 games.
2023-02-12 10:30:26 +01:00
..
AutoDeleteCache.cs Limit texture cache based on total texture size (#4350) 2023-02-08 14:19:43 +01:00
FormatInfo.cs
FormatTable.cs
ITextureDescriptor.cs
Pool.cs
PoolCache.cs
ReductionFilter.cs
Sampler.cs
SamplerDescriptor.cs
SamplerMinFilter.cs
SamplerMipFilter.cs
SamplerPool.cs
SamplerPoolCache.cs
Texture.cs Limit texture cache based on total texture size (#4350) 2023-02-08 14:19:43 +01:00
TextureBindingInfo.cs
TextureBindingsManager.cs
TextureCache.cs Allow partially mapped textures with unmapped start (#4394) 2023-02-10 11:47:59 -03:00
TextureCompatibility.cs Handle mismatching texture size with copy dependencies (#4364) 2023-02-08 08:48:09 +01:00
TextureComponent.cs
TextureDependency.cs
TextureDescriptor.cs
TextureDescriptorType.cs
TextureGroup.cs Fix partial updates for textures. (#4401) 2023-02-12 10:30:26 +01:00
TextureGroupHandle.cs
TextureInfo.cs Handle mismatching texture size with copy dependencies (#4364) 2023-02-08 08:48:09 +01:00
TextureManager.cs Handle mismatching texture size with copy dependencies (#4364) 2023-02-08 08:48:09 +01:00
TextureMatchQuality.cs
TextureMsaaMode.cs
TexturePool.cs Handle mismatching texture size with copy dependencies (#4364) 2023-02-08 08:48:09 +01:00
TexturePoolCache.cs
TextureScaleMode.cs
TextureSearchFlags.cs Handle mismatching texture size with copy dependencies (#4364) 2023-02-08 08:48:09 +01:00
TextureTarget.cs
TextureViewCompatibility.cs