aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/shader_ir.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-08-25 15:32:00 -0400
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-04 18:52:51 -0400
commitca9901867e91cd0be0cc75094ee8ea2fb2767c47 (patch)
tree1d46ef166d33459447a006f3da3dd663fab4fcaa /src/video_core/shader/shader_ir.h
parent0366c18d87f8c60ff6a99db668a7f2d810aaeeb0 (diff)
vk_shader_compiler: Implement the decompiler in SPIR-V
Diffstat (limited to 'src/video_core/shader/shader_ir.h')
-rw-r--r--src/video_core/shader/shader_ir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h
index 7a91c9bb6..105981d67 100644
--- a/src/video_core/shader/shader_ir.h
+++ b/src/video_core/shader/shader_ir.h
@@ -151,6 +151,10 @@ public:
return decompiled;
}
+ const ASTManager& GetASTManager() const {
+ return program_manager;
+ }
+
ASTNode GetASTProgram() const {
return program_manager.GetProgram();
}