Address PR feedback
Add TODO comment for GL_EXT_polygon_offset_clamp
This commit is contained in:
@ -13,7 +13,7 @@ namespace Ryujinx.Graphics.Shader.Decoders
|
||||
|
||||
public OpCodeBranchIndir BrIndir { get; set; }
|
||||
|
||||
public List<OpCode> OpCodes { get; }
|
||||
public List<OpCode> OpCodes { get; }
|
||||
public List<OpCodePush> PushOpCodes { get; }
|
||||
|
||||
public Block(ulong address)
|
||||
|
@ -60,7 +60,7 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
||||
|
||||
if (intType == IntegerType.U64)
|
||||
{
|
||||
// TODO: Warning. This instruction supports 64-bits integers, but it is not implemented.
|
||||
context.Config.PrintLog("Unimplemented 64-bits F2I.");
|
||||
|
||||
return;
|
||||
}
|
||||
@ -172,7 +172,7 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
||||
|
||||
if (srcType == IntegerType.U64 || dstType == IntegerType.U64)
|
||||
{
|
||||
// TODO: Warning. This instruction doesn't support 64-bits integers.
|
||||
context.Config.PrintLog("Invalid I2I encoding.");
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -53,10 +53,10 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
||||
}
|
||||
else if (floatType == FPType.FP64)
|
||||
{
|
||||
// TODO.
|
||||
// TODO: Double floating-point type support.
|
||||
}
|
||||
|
||||
// TODO: Warn about invalid floating point type.
|
||||
context.Config.PrintLog($"Invalid floating point type: {floatType}.");
|
||||
|
||||
return ConstF(0);
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
||||
|
||||
if (!(emit || cut))
|
||||
{
|
||||
// TODO: Warning.
|
||||
context.Config.PrintLog("Invalid OUT encoding.");
|
||||
}
|
||||
|
||||
if (emit)
|
||||
|
@ -9,7 +9,7 @@ namespace Ryujinx.Graphics.Shader.Translation
|
||||
public const int StorageDescSize = 4; // In words.
|
||||
public const int StorageMaxCount = 16;
|
||||
|
||||
public const int StorageDescsSize = StorageDescSize * StorageMaxCount;
|
||||
public const int StorageDescsSize = StorageDescSize * StorageMaxCount;
|
||||
|
||||
public static bool UsesGlobalMemory(Instruction inst)
|
||||
{
|
||||
|
@ -22,8 +22,6 @@ namespace Ryujinx.Graphics.Shader.Translation
|
||||
|
||||
if (cfg == null)
|
||||
{
|
||||
// TODO: Error.
|
||||
|
||||
return code;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user