diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-01-26 14:27:18 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-26 18:27:18 +0100 |
| commit | 9551bfdeebee663f119b4fbaa7196ce8d810f41a (patch) | |
| tree | af13e9e7a66c09be602c5bfe94a1c65e789fa101 | |
| parent | e453ba69f42057d36559b2c84b6ad9f01eaf4c86 (diff) | |
Fix compute shader code dumping (#1960)
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs index 1dbe1805..f3e4679b 100644 --- a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs +++ b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs @@ -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); |
