diff options
author | namkazy <nam.kazt.91@gmail.com> | 2020-03-22 14:13:05 +0100 |
---|---|---|
committer | namkazy <nam.kazt.91@gmail.com> | 2020-04-05 05:31:29 +0200 |
commit | 58bcb86af54bb00e3a01db02c7ed1945b68ea44c (patch) | |
tree | 75ecff0623f988497c959d0bc2a0102ade9ad63f /src/video_core/shader/shader_ir.h | |
parent | clang-fix (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 80fc9b82c..e531181cd 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -68,8 +68,8 @@ struct GlobalMemoryUsage { class ShaderIR final { public: - explicit ShaderIR(const ProgramCode& program_code, u32 main_offset, CompilerSettings settings, - Registry& registry); + explicit ShaderIR(const ProgramCode& program_code, Tegra::Engines::ShaderType shader_stage, + u32 main_offset, CompilerSettings settings, Registry& registry); ~ShaderIR(); const std::map<u32, NodeBlock>& GetBasicBlocks() const { @@ -419,6 +419,7 @@ private: u32 NewCustomVariable(); const ProgramCode& program_code; + const Tegra::Engines::ShaderType shader_stage; const u32 main_offset; const CompilerSettings settings; Registry& registry; |