Fix compute shader code dumping (#1960)
This commit is contained in:
parent
e453ba69f4
commit
9551bfdeeb
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user