aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs
blob: 2c78c1a3d623e44fabcaefefa68f591471bc3f83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace Ryujinx.HLE.HOS.Services.Vi
{
    enum ResultCode
    {
        ModuleId       = 114,
        ErrorCodeShift = 9,

        Success = 0,

        InvalidArguments   = (1 << ErrorCodeShift) | ModuleId,
        InvalidLayerSize   = (4 << ErrorCodeShift) | ModuleId,
        InvalidScalingMode = (6 << ErrorCodeShift) | ModuleId
    }
}