diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 06:42:25 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-07 02:23:40 +0100 |
commit | 750abcc23d0b9584b716ab93110383209b0971f8 (patch) | |
tree | f8299f57d6354c8e2020f3b34e3a50c5c9883fea /src/video_core/renderer_opengl/gl_shader_decompiler.h | |
parent | gl_shader_disk_cache: Pass return values returning instead of by parameters (diff) | |
download | yuzu-750abcc23d0b9584b716ab93110383209b0971f8.tar yuzu-750abcc23d0b9584b716ab93110383209b0971f8.tar.gz yuzu-750abcc23d0b9584b716ab93110383209b0971f8.tar.bz2 yuzu-750abcc23d0b9584b716ab93110383209b0971f8.tar.lz yuzu-750abcc23d0b9584b716ab93110383209b0971f8.tar.xz yuzu-750abcc23d0b9584b716ab93110383209b0971f8.tar.zst yuzu-750abcc23d0b9584b716ab93110383209b0971f8.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_decompiler.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.h b/src/video_core/renderer_opengl/gl_shader_decompiler.h index 0031cb614..72aca4938 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.h +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.h @@ -19,7 +19,11 @@ class ShaderIR; namespace OpenGL::GLShader { +struct ShaderEntries; + using Maxwell = Tegra::Engines::Maxwell3D::Regs; +using ProgramResult = std::pair<std::string, ShaderEntries>; +using SamplerEntry = VideoCommon::Shader::Sampler; class ConstBufferEntry : public VideoCommon::Shader::ConstBuffer { public: @@ -34,8 +38,6 @@ private: u32 index{}; }; -using SamplerEntry = VideoCommon::Shader::Sampler; - class GlobalMemoryEntry { public: explicit GlobalMemoryEntry(u32 cbuf_index, u32 cbuf_offset) @@ -62,8 +64,6 @@ struct ShaderEntries { std::size_t shader_length{}; }; -using ProgramResult = std::pair<std::string, ShaderEntries>; - std::string GetCommonDeclarations(); ProgramResult Decompile(const VideoCommon::Shader::ShaderIR& ir, Maxwell::ShaderStage stage, |