diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-10 23:03:52 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-14 10:13:19 +0200 |
commit | f15c59a164a7c4deafb77e9fc698cdf9a08691ce (patch) | |
tree | f232add61779165ba2d03773384b9df86c2f7af0 /src/video_core/renderer_opengl/gl_shader_decompiler.h | |
parent | gl_device: Implement interface and add uniform offset alignment (diff) | |
download | yuzu-f15c59a164a7c4deafb77e9fc698cdf9a08691ce.tar yuzu-f15c59a164a7c4deafb77e9fc698cdf9a08691ce.tar.gz yuzu-f15c59a164a7c4deafb77e9fc698cdf9a08691ce.tar.bz2 yuzu-f15c59a164a7c4deafb77e9fc698cdf9a08691ce.tar.lz yuzu-f15c59a164a7c4deafb77e9fc698cdf9a08691ce.tar.xz yuzu-f15c59a164a7c4deafb77e9fc698cdf9a08691ce.tar.zst yuzu-f15c59a164a7c4deafb77e9fc698cdf9a08691ce.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.h b/src/video_core/renderer_opengl/gl_shader_decompiler.h index 4e04ab2f8..fa6b0a10f 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.h +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.h @@ -12,6 +12,10 @@ #include "video_core/engines/maxwell_3d.h" #include "video_core/shader/shader_ir.h" +namespace OpenGL { +class Device; +} + namespace VideoCommon::Shader { class ShaderIR; } @@ -65,7 +69,7 @@ struct ShaderEntries { std::string GetCommonDeclarations(); -ProgramResult Decompile(const VideoCommon::Shader::ShaderIR& ir, Maxwell::ShaderStage stage, - const std::string& suffix); +ProgramResult Decompile(const Device& device, const VideoCommon::Shader::ShaderIR& ir, + Maxwell::ShaderStage stage, const std::string& suffix); } // namespace OpenGL::GLShader
\ No newline at end of file |