mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-06 02:08:28 +02:00
Allow shader language and target API to be specified on the shader translator (#2402)
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Ryujinx.Graphics.Shader.StructuredIr
|
||||
|
||||
// When debug mode is enabled, we disable expression propagation
|
||||
// (this makes comparison with the disassembly easier).
|
||||
if ((context.Config.Flags & TranslationFlags.DebugMode) == 0)
|
||||
if ((context.Config.Options.Flags & TranslationFlags.DebugMode) == 0)
|
||||
{
|
||||
AstBlockVisitor visitor = new AstBlockVisitor(mainBlock);
|
||||
|
||||
|
Reference in New Issue
Block a user