mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-23 02:06:55 +01:00
96cf242bcf
* Handle mismatching texture size with copy dependencies * Create copy and render textures with the minimum possible size * Only align width for comparisons, assume that height is always exact * Fix IsExactMatch size check * Allow sampler and copy textures to match textures with larger width * Delete texture ChangeSize related code * Move AdjustSize to TextureInfo and give it a better name, adjust usages * Fix GetMinimumWidthInGob when minimumWidth > width * Only update render targets that are actually cleared for clear Avoids creating textures with incorrect sizes * Delete UpdateRenderTargetState method that is not needed anymore Clears now only ever sets the render targets that will be cleared rather than all of them
17 lines
No EOL
364 B
C#
17 lines
No EOL
364 B
C#
using System;
|
|
|
|
namespace Ryujinx.Graphics.Gpu.Image
|
|
{
|
|
/// <summary>
|
|
/// Texture search flags, defines texture information comparison rules.
|
|
/// </summary>
|
|
[Flags]
|
|
enum TextureSearchFlags
|
|
{
|
|
None = 0,
|
|
ForSampler = 1 << 1,
|
|
ForCopy = 1 << 2,
|
|
WithUpscale = 1 << 3,
|
|
NoCreate = 1 << 4
|
|
}
|
|
} |