e4f68592c3
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. |
||
---|---|---|
.. | ||
AutoDeleteCache.cs | ||
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 | ||
TextureBindingInfo.cs | ||
TextureBindingsManager.cs | ||
TextureCache.cs | ||
TextureCompatibility.cs | ||
TextureComponent.cs | ||
TextureDependency.cs | ||
TextureDescriptor.cs | ||
TextureDescriptorType.cs | ||
TextureGroup.cs | ||
TextureGroupHandle.cs | ||
TextureInfo.cs | ||
TextureManager.cs | ||
TextureMatchQuality.cs | ||
TextureMsaaMode.cs | ||
TexturePool.cs | ||
TexturePoolCache.cs | ||
TextureScaleMode.cs | ||
TextureSearchFlags.cs | ||
TextureTarget.cs | ||
TextureViewCompatibility.cs |