mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-04 17:42:16 +00:00
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();
|
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);
|
ShaderProgram program = translatorContext.Translate(out ShaderProgramInfo shaderProgramInfo);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue