summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_decompiler.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-10 04:07:30 +0200
committerbunnei <bunneidev@gmail.com>2018-04-14 22:01:39 +0200
commit50023bdae790a607b3a6e6279465c2520279f70b (patch)
tree206660dd76c36ba9433489f862cec58ca31e970e /src/video_core/renderer_opengl/gl_shader_decompiler.h
parentrenderer_opengl: Fix Morton copy byteswap, etc. (diff)
downloadyuzu-50023bdae790a607b3a6e6279465c2520279f70b.tar
yuzu-50023bdae790a607b3a6e6279465c2520279f70b.tar.gz
yuzu-50023bdae790a607b3a6e6279465c2520279f70b.tar.bz2
yuzu-50023bdae790a607b3a6e6279465c2520279f70b.tar.lz
yuzu-50023bdae790a607b3a6e6279465c2520279f70b.tar.xz
yuzu-50023bdae790a607b3a6e6279465c2520279f70b.tar.zst
yuzu-50023bdae790a607b3a6e6279465c2520279f70b.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.h b/src/video_core/renderer_opengl/gl_shader_decompiler.h
index 061dd6102..2f4047d87 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.h
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.h
@@ -7,14 +7,18 @@
#include <string>
#include <boost/optional.hpp>
#include "common/common_types.h"
+#include "video_core/engines/maxwell_3d.h"
#include "video_core/renderer_opengl/gl_shader_gen.h"
namespace GLShader {
namespace Decompiler {
+using Tegra::Engines::Maxwell3D;
+
std::string GetCommonDeclarations();
-boost::optional<std::string> DecompileProgram(const ProgramCode& program_code, u32 main_offset);
+boost::optional<std::string> DecompileProgram(const ProgramCode& program_code, u32 main_offset,
+ Maxwell3D::Regs::ShaderStage stage);
} // namespace Decompiler
} // namespace GLShader