diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-25 13:57:32 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-07-09 14:14:37 +0200 |
commit | 459fce3a8f26241ff2a68c323e75fb70e7e1ba79 (patch) | |
tree | 4b653d7dd8fd7e6d325ca69cdd1384187cbd73ac /src/video_core/shader/shader_ir.h | |
parent | shader_ir: Implement BRX & BRA.CC (diff) | |
download | yuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.tar yuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.tar.gz yuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.tar.bz2 yuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.tar.lz yuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.tar.xz yuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.tar.zst yuzu-459fce3a8f26241ff2a68c323e75fb70e7e1ba79.zip |
Diffstat (limited to 'src/video_core/shader/shader_ir.h')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index e71462e02..a67d4f390 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -65,7 +65,7 @@ struct GlobalMemoryUsage { class ShaderIR final { public: - explicit ShaderIR(const ProgramCode& program_code, u32 main_offset); + explicit ShaderIR(const ProgramCode& program_code, u32 main_offset, std::size_t size); ~ShaderIR(); const std::map<u32, NodeBlock>& GetBasicBlocks() const { @@ -316,6 +316,7 @@ private: const ProgramCode& program_code; const u32 main_offset; + const std::size_t program_size; u32 coverage_begin{}; u32 coverage_end{}; |