mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 11:20:48 -07:00
Allow shader language and target API to be specified on the shader translator (#2402)
This commit is contained in:
@ -74,7 +74,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
|
||||
continue;
|
||||
}
|
||||
|
||||
if ((context.Config.Flags & TranslationFlags.Feedback) != 0)
|
||||
if ((context.Config.Options.Flags & TranslationFlags.Feedback) != 0)
|
||||
{
|
||||
context.AppendLine($"{DefaultNames.OAttributePrefix}{attr}_x = 0.0;");
|
||||
context.AppendLine($"{DefaultNames.OAttributePrefix}{attr}_y = 0.0;");
|
||||
|
Reference in New Issue
Block a user