mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-26 03:55:15 +00:00
22 lines
No EOL
459 B
C#
22 lines
No EOL
459 B
C#
namespace Ryujinx.Graphics.Gpu.State
|
|
{
|
|
/// <summary>
|
|
/// Texture to texture copy control.
|
|
/// </summary>
|
|
struct CopyTextureControl
|
|
{
|
|
#pragma warning disable CS0649
|
|
public uint Packed;
|
|
#pragma warning restore CS0649
|
|
|
|
public bool UnpackOriginCorner()
|
|
{
|
|
return (Packed & 1u) != 0;
|
|
}
|
|
|
|
public bool UnpackLinearFilter()
|
|
{
|
|
return (Packed & (1u << 4)) != 0;
|
|
}
|
|
}
|
|
} |