mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-31 10:09:42 -06:00
Add config key to dump shaders in local directory (#265)
* Add config key to dump shaders in local directory * Address feedback
This commit is contained in:
@ -118,6 +118,9 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
||||
|
||||
if (IsDualVp)
|
||||
{
|
||||
ShaderDumper.Dump(Memory, Position + 0x50, Type, "a");
|
||||
ShaderDumper.Dump(Memory, PositionB + 0x50, Type, "b");
|
||||
|
||||
Program = Decompiler.Decompile(
|
||||
Memory,
|
||||
Position + 0x50,
|
||||
@ -126,6 +129,8 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
||||
}
|
||||
else
|
||||
{
|
||||
ShaderDumper.Dump(Memory, Position + 0x50, Type);
|
||||
|
||||
Program = Decompiler.Decompile(Memory, Position + 0x50, Type);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user