mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-30 01:29:48 -06:00
Allow shader language and target API to be specified on the shader translator (#2402)
This commit is contained in:
16
Ryujinx.Graphics.Shader/Translation/TranslationOptions.cs
Normal file
16
Ryujinx.Graphics.Shader/Translation/TranslationOptions.cs
Normal file
@ -0,0 +1,16 @@
|
||||
namespace Ryujinx.Graphics.Shader.Translation
|
||||
{
|
||||
public struct TranslationOptions
|
||||
{
|
||||
public TargetLanguage TargetLanguage { get; }
|
||||
public TargetApi TargetApi { get; }
|
||||
public TranslationFlags Flags { get; }
|
||||
|
||||
public TranslationOptions(TargetLanguage targetLanguage, TargetApi targetApi, TranslationFlags flags)
|
||||
{
|
||||
TargetLanguage = targetLanguage;
|
||||
TargetApi = targetApi;
|
||||
Flags = flags;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user