WIP V2: Experimental: Metal backend #441

Merged
GreemDev merged 369 commits from new-metal into master 2024-12-24 06:55:16 +00:00
Showing only changes of commit 2587e1ff22 - Show all commits

View File

@ -306,7 +306,7 @@ namespace Ryujinx.Graphics.Metal
public void SetBlendState(AdvancedBlendDescriptor blend) public void SetBlendState(AdvancedBlendDescriptor blend)
{ {
Logger.Warning?.Print(LogClass.Gpu, "Advanced blend is not supported in Metal!"); // Metal does not support advanced blend.
} }
public void SetBlendState(int index, BlendDescriptor blend) public void SetBlendState(int index, BlendDescriptor blend)
@ -361,14 +361,12 @@ namespace Ryujinx.Graphics.Metal
public void SetLineParameters(float width, bool smooth) public void SetLineParameters(float width, bool smooth)
{ {
// Not supported in Metal // Metal does not support wide-lines.
Logger.Warning?.Print(LogClass.Gpu, "Wide-line is not supported without private Metal API");
} }
public void SetLogicOpState(bool enable, LogicalOp op) public void SetLogicOpState(bool enable, LogicalOp op)
{ {
// Not supported in Metal // Metal does not support logic operations.
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
} }
public void SetMultisampleState(MultisampleDescriptor multisample) public void SetMultisampleState(MultisampleDescriptor multisample)
@ -388,8 +386,7 @@ namespace Ryujinx.Graphics.Metal
public void SetPolygonMode(PolygonMode frontMode, PolygonMode backMode) public void SetPolygonMode(PolygonMode frontMode, PolygonMode backMode)
{ {
// Not supported in Metal // Metal does not support polygon mode.
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
} }
public void SetPrimitiveRestart(bool enable, int index) public void SetPrimitiveRestart(bool enable, int index)
@ -534,20 +531,17 @@ namespace Ryujinx.Graphics.Metal
public void BeginTransformFeedback(PrimitiveTopology topology) public void BeginTransformFeedback(PrimitiveTopology topology)
{ {
// Metal does not support Transform Feedback // Metal does not support transform feedback.
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
} }
public void EndTransformFeedback() public void EndTransformFeedback()
{ {
// Metal does not support Transform Feedback // Metal does not support transform feedback.
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
} }
public void SetTransformFeedbackBuffers(ReadOnlySpan<BufferRange> buffers) public void SetTransformFeedbackBuffers(ReadOnlySpan<BufferRange> buffers)
{ {
// Metal does not support Transform Feedback // Metal does not support transform feedback.
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
} }
public void Dispose() public void Dispose()