forked from Mirror/Ryujinx
Fix compute shader code dumping (#1960)
This commit is contained in:
parent
e453ba69f4
commit
9551bfdeeb
1 changed files with 1 additions and 1 deletions
|
@ -759,7 +759,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
|||
{
|
||||
byte[] code = _context.MemoryManager.GetSpan(translatorContext.Address, translatorContext.Size).ToArray();
|
||||
|
||||
_dumper.Dump(code, compute: false, out string fullPath, out string codePath);
|
||||
_dumper.Dump(code, translatorContext.Stage == ShaderStage.Compute, out string fullPath, out string codePath);
|
||||
|
||||
ShaderProgram program = translatorContext.Translate(out ShaderProgramInfo shaderProgramInfo);
|
||||
|
||||
|
|
Reference in a new issue