summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader_ir.cpp
diff options
context:
space:
mode:
authornamkazy <nam.kazt.91@gmail.com>2020-03-22 14:13:05 +0100
committernamkazy <nam.kazt.91@gmail.com>2020-04-05 05:31:29 +0200
commit58bcb86af54bb00e3a01db02c7ed1945b68ea44c (patch)
tree75ecff0623f988497c959d0bc2a0102ade9ad63f /src/video_core/shader/shader_ir.cpp
parentclang-fix (diff)
downloadyuzu-58bcb86af54bb00e3a01db02c7ed1945b68ea44c.tar
yuzu-58bcb86af54bb00e3a01db02c7ed1945b68ea44c.tar.gz
yuzu-58bcb86af54bb00e3a01db02c7ed1945b68ea44c.tar.bz2
yuzu-58bcb86af54bb00e3a01db02c7ed1945b68ea44c.tar.lz
yuzu-58bcb86af54bb00e3a01db02c7ed1945b68ea44c.tar.xz
yuzu-58bcb86af54bb00e3a01db02c7ed1945b68ea44c.tar.zst
yuzu-58bcb86af54bb00e3a01db02c7ed1945b68ea44c.zip
Diffstat (limited to 'src/video_core/shader/shader_ir.cpp')
-rw-r--r--src/video_core/shader/shader_ir.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/shader/shader_ir.cpp b/src/video_core/shader/shader_ir.cpp
index baf7188d2..bbd86a2c5 100644
--- a/src/video_core/shader/shader_ir.cpp
+++ b/src/video_core/shader/shader_ir.cpp
@@ -24,9 +24,10 @@ using Tegra::Shader::PredCondition;
using Tegra::Shader::PredOperation;
using Tegra::Shader::Register;
-ShaderIR::ShaderIR(const ProgramCode& program_code, u32 main_offset, CompilerSettings settings,
- Registry& registry)
- : program_code{program_code}, main_offset{main_offset}, settings{settings}, registry{registry} {
+ShaderIR::ShaderIR(const ProgramCode& program_code, Tegra::Engines::ShaderType shader_stage,
+ u32 main_offset, CompilerSettings settings, Registry& registry)
+ : program_code{program_code}, shader_stage{shader_stage},
+ main_offset{main_offset}, settings{settings}, registry{registry} {
Decode();
PostDecode();
}