mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-27 17:07:10 +02:00
Allow shader language and target API to be specified on the shader translator (#2402)
This commit is contained in:
parent
4ba29e9c1d
commit
e4a83daf3e
11 changed files with 87 additions and 27 deletions
|
@ -156,7 +156,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
|
|||
? DefaultNames.OAttributePrefix
|
||||
: DefaultNames.IAttributePrefix;
|
||||
|
||||
if ((config.Flags & TranslationFlags.Feedback) != 0)
|
||||
if ((config.Options.Flags & TranslationFlags.Feedback) != 0)
|
||||
{
|
||||
string name = $"{prefix}{(value >> 4)}_{swzMask}";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue