mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-08-18 22:58:43 +02:00
* Use copy dependency for textures that differs in multisample but are otherwise compatible * Remove allowMs flag as it's no longer required for correctness, it's just an optimization now * Dispose intermmediate pool
24 lines
539 B
C#
24 lines
539 B
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public enum Target
|
|
{
|
|
Texture1D,
|
|
Texture2D,
|
|
Texture3D,
|
|
Texture1DArray,
|
|
Texture2DArray,
|
|
Texture2DMultisample,
|
|
Texture2DMultisampleArray,
|
|
Cubemap,
|
|
CubemapArray,
|
|
TextureBuffer
|
|
}
|
|
|
|
public static class TargetExtensions
|
|
{
|
|
public static bool IsMultisample(this Target target)
|
|
{
|
|
return target == Target.Texture2DMultisample || target == Target.Texture2DMultisampleArray;
|
|
}
|
|
}
|
|
} |