summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_decompiler.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-04-23 04:14:02 +0200
committerGitHub <noreply@github.com>2019-04-23 04:14:02 +0200
commit4fad91ca4501af51822a35d5f251c6cf486f5041 (patch)
treeadd83242d7d748f3ca0eb7136470c762218fdf74 /src/video_core/renderer_opengl/gl_shader_decompiler.h
parentMerge pull request #2420 from lioncash/audctl (diff)
parentgl_shader_decompiler: Use variable AOFFI on supported hardware (diff)
downloadyuzu-4fad91ca4501af51822a35d5f251c6cf486f5041.tar
yuzu-4fad91ca4501af51822a35d5f251c6cf486f5041.tar.gz
yuzu-4fad91ca4501af51822a35d5f251c6cf486f5041.tar.bz2
yuzu-4fad91ca4501af51822a35d5f251c6cf486f5041.tar.lz
yuzu-4fad91ca4501af51822a35d5f251c6cf486f5041.tar.xz
yuzu-4fad91ca4501af51822a35d5f251c6cf486f5041.tar.zst
yuzu-4fad91ca4501af51822a35d5f251c6cf486f5041.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_decompiler.h')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.h8
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 74032d237..c1569e737 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;
}
@@ -77,7 +81,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